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