On Mon, Jan 20, 2014 at 8:17 PM, Fabio Estevam <feste...@gmail.com> wrote:
> On Mon, Jan 20, 2014 at 12:40 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote:
>>> Shouldn't you return -ENOMEM instead?
>>
>> Yes - we can but anyway ret is -1 by default.
>> and sf code doesn't use -ve macros' as of now.
>
> -1 is not an propriate return error value in this case.

Yes it should be -11 - then we need to use -ENOMEM

-- 
Thanks,
Jagan.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to