Subject: Re: [PATCH 2/7] usb: fsl_udc_core: check return value of create_proc_read_entry()

From: Dan Carpenter <[email-masked]>
Date: Sat, 31 Jul 2010 21:17:43 +0200

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