[PATCH] staging: dgnc: driver.c and .h: changes kzmalloc param for sparse
dan.carpenter at oracle.com
Tue Aug 27 18:46:50 UTC 2013
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.
More information about the devel