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

2010-07-31 Thread Kulikov Vasiliy
create_proc_read_entry() may fail, if so return -ENOMEM. Signed-off-by: Kulikov Vasiliy --- drivers/usb/gadget/fsl_udc_core.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index 08a9a62..c3d

Re: [PATCH 0/8] v3 De-couple sysfs memory directories from memory sections

2010-07-31 Thread Greg KH
On Sat, Jul 31, 2010 at 03:36:24PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2010-07-19 at 22:45 -0500, Nathan Fontenot wrote: > > This set of patches de-couples the idea that there is a single > > directory in sysfs for each memory section. The intent of the > > patches is to reduce the numb

Re: [PATCH 0/8] v3 De-couple sysfs memory directories from memory sections

2010-07-31 Thread Benjamin Herrenschmidt
On Sat, 2010-07-31 at 12:55 -0700, Greg KH wrote: > On Sat, Jul 31, 2010 at 03:36:24PM +1000, Benjamin Herrenschmidt wrote: > > On Mon, 2010-07-19 at 22:45 -0500, Nathan Fontenot wrote: > > > This set of patches de-couples the idea that there is a single > > > directory in sysfs for each memory sec

Re: [PATCH 0/2 v3] mpc5200 ac97 gpio reset

2010-07-31 Thread Grant Likely
On Sun, Jun 27, 2010 at 4:01 PM, Mark Brown wrote: > > On 26 Jun 2010, at 00:04, Grant Likely wrote: > >> On Tue, Jun 22, 2010 at 5:00 PM, Mark Brown >>> On Tue, Jun 15, 2010 at 12:05:05PM -0400, Eric Millbrandt wrote: These patches reimplement the reset fuction in the ac97 to use gpio pins

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

2010-07-31 Thread Vasiliy Kulikov
On Sat, Jul 31, 2010 at 21:17 +0200, Dan Carpenter wrote: > 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, w

Re: [PATCH] PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc()

2010-07-31 Thread Michael Ellerman
On Fri, 2010-07-30 at 09:42 -0700, Jesse Barnes wrote: > On Fri, 23 Jul 2010 14:56:28 +0100 > Ben Hutchings wrote: > > > commit 2ca1af9aa3285c6a5f103ed31ad09f7399fc65d7 "PCI: MSI: Remove > > unsafe and unnecessary hardware access" changed read_msi_msg_desc() to > > return the last MSI message wri