[PATCH 2/7] usb: fsl_udc_core: check return value of create_proc_read_entry()
Dan Carpenter
error27 at gmail.com
Sun Aug 1 05:17:43 EST 2010
On Sat, Jul 31, 2010 at 09:38:20PM +0400, Kulikov Vasiliy wrote:
> create_proc_read_entry() may fail, if so return -ENOMEM.
>
It can fail, but also we return NULL if procfs is disabled. I haven't
looked at it very carefully, would this patch break the module if procfs
was disabled?
The same applies to the similar patches in this set.
regards,
dan carpenter
More information about the Linuxppc-dev
mailing list