Re: [Patch 06/16] This removes unnecessary kmalloc casts and corrects a test for kmalloc failure.

From: Christian Borntraeger
Date: Tue Jul 31 2007 - 10:18:51 EST


Am Dienstag, 31. Juli 2007 schrieb jack@xxxxxxxxxxxxxxxxxxxxxxx:
> --- a/drivers/media/video/zoran_driver.c
> +++ b/drivers/media/video/zoran_driver.c
[...]
> - mem =
> - (unsigned long) kmalloc(fh->jpg_buffers.
> - buffer_size,
> - GFP_KERNEL);
> + mem = kmalloc(fh->jpg_buffers.buffer_size, GFP_KERNEL);
[...]

NAK. See the comments to the other patches. The cast is necessary.
-
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/