Messages in this thread Patch in this message | | | From | jack@hawkeye ... | Date | Tue, 31 Jul 2007 13:53:24 +0100 | Subject | [Patch 08/16] Remove unnecessary kmalloc casts in the parisc drivers. |
| |
Signed-off-by: Jack Stone <jack@hawkeye.stone.uk.eu.org>
CC: Matthew Wilcox <matthew@will.cx>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |