[PATCH V2 1/4] staging: ced1401: fix a frame size warning

devendra.aaru devendra.aaru at gmail.com
Mon Oct 22 21:16:51 UTC 2012


On Mon, Oct 22, 2012 at 4:16 PM, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> On Mon, Oct 22, 2012 at 11:48:26AM -0400, Devendra Naga wrote:
>> gcc/sparse complain about the following:
>>
>> drivers/staging/ced1401/ced_ioc.c:931:1: warning: the frame size of 4144 bytes is larger than 2048 bytes [-Wframe-larger-than=]
>>
>> Fix it by dynamically allocating it.
>
> This still leaks memory on the success path.
>
> regards,
> dan carpenter
>


I am very sorry, i just wasted your time, i will resend it again with
the success path kfree also.

thanks,



More information about the devel mailing list