Re: [PATCH v3 6/7] staging: dgnc: changes arguments in sizeof

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

 



On Wed, Sep 25, 2013 at 7:08 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Sep 09, 2013 at 03:01:27PM -0400, Lidza Louina wrote:
>> The arguments that were passed into sizeof were
>> generic. This patch changes this by putting
>> the actual item that we need a size of instead.
>>
>> For example:
>> -   kzalloc(sizeof(struct dgnc_board), GFP_KERNEL);
>> +   kzalloc(sizeof(*brd), GFP_KERNEL);
>>
>> Signed-off-by: Lidza Louina <lidza.louina@xxxxxxxxx>
>> Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> This no longer applies :(
>
> Can you refresh it and resend please?

Yes, I can. :)
_______________________________________________
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