Re: [PATCH] staging: dgnc: driver.c and .h: changes kzmalloc param for sparse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 27, 2013 at 11:20:06AM -0400, Lidza Louina wrote:
> This patch changes the dgnc_driver_kzmalloc declaration.
> The kernel's kmalloc function previously took an int
> priority. That's been replaced with gfp_t flags.
> 
> The warning was caught by sparse.
> 

Don't bother fixing these...  Just replace them all with kzalloc()
instead.  They probably did it for compatability with Windows or
something.  We don't care about that in linux.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux