From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Sat, 31 Jul 2010 19:17:43 +0000 Subject: Re: [PATCH 2/7] usb: fsl_udc_core: check return value of Message-Id: <20100731191743.GF26313@bicker> List-Id: References: <1280597900-8405-1-git-send-email-segooon@gmail.com> In-Reply-To: <1280597900-8405-1-git-send-email-segooon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kulikov Vasiliy Cc: David Brownell , Greg Kroah-Hartman , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-usb@vger.kernel.org, Anton Vorontsov , Dinh Nguyen 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