Re: cris: nand: Delete an error message for a failed memory allocation in crisv32_nand_flash_probe()

From: SF Markus Elfring
Date: Wed Oct 04 2017 - 15:55:37 EST


>> Omit an extra message for a memory allocation failure in this function.
>>
>> This issue was detected by using the Coccinelle software.
>
> what exactly has the software detected?

Do you prefer the notification âWARNING: Possible unnecessary 'out of memory' messageâ
by the script âcheckpatch.plâ instead?


> I cannot find, how this error is reported otherwise, it seems
> to me that the message is not that superflous.

Would you find the default allocation failure report sufficient?

Regards,
Markus