[PATCH] staging: dgnc: driver.c and .h: changes kzmalloc param for sparse
Lidza Louina
lidza.louina at gmail.com
Tue Aug 27 21:59:50 UTC 2013
On Tue, Aug 27, 2013 at 2:46 PM, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> 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.
Alrighty.
More information about the devel
mailing list