[Patch 08/16] Remove unnecessary kmalloc casts in the parisc drivers.

From: jack
Date: Tue Jul 31 2007 - 09:10:56 EST


Signed-off-by: Jack Stone <jack@xxxxxxxxxxxxxxxxxxxxxxx>

CC: Matthew Wilcox <matthew@xxxxxxx>

---
drivers/parisc/iosapic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/parisc/iosapic.c
===================================================================
--- a/drivers/parisc/iosapic.c
+++ b/drivers/parisc/iosapic.c
@@ -243,7 +243,7 @@ static struct irt_entry *iosapic_alloc_i
* if CONFIG_DEBUG_SLAB is enabled, then we can get only
* 4-byte alignment on 32-bit kernels
*/
- a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL);
+ a = kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL);
a = (a + 7UL) & ~7UL;
return (struct irt_entry *)a;
}

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/