[lkml]   [2007]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Patch 08/16] Remove unnecessary kmalloc casts in the parisc drivers.
Am Dienstag, 31. Juli 2007 schrieb
> - a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8,
> + a = kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL);

Same as in some other patches.
"void *" -> "ulong" is not auto casted and will give you a "warning:
assignment makes integer from pointer without a cast".

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-07-31 16:09    [W:0.124 / U:2.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site