Re: [PATCH -mm] kobject_add error handling when set name failed

2007-12-14 Thread Greg KH
On Fri, Dec 14, 2007 at 05:24:05PM +0800, Dave Young wrote: > In kobject_add, when kobject_set_name failed we should put the kobj and > return. > > Signed-off-by: Dave Young <[EMAIL PROTECTED]> > > --- > lib/kobject.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > >

[PATCH -mm] kobject_add error handling when set name failed

2007-12-14 Thread Dave Young
In kobject_add, when kobject_set_name failed we should put the kobj and return. Signed-off-by: Dave Young <[EMAIL PROTECTED]> --- lib/kobject.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff -upr linux/lib/kobject.c linux.new/lib/kobject.c --- linux/lib/kobject.c

[PATCH -mm] kobject_add error handling when set name failed

2007-12-14 Thread Dave Young
In kobject_add, when kobject_set_name failed we should put the kobj and return. Signed-off-by: Dave Young [EMAIL PROTECTED] --- lib/kobject.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff -upr linux/lib/kobject.c linux.new/lib/kobject.c --- linux/lib/kobject.c

Re: [PATCH -mm] kobject_add error handling when set name failed

2007-12-14 Thread Greg KH
On Fri, Dec 14, 2007 at 05:24:05PM +0800, Dave Young wrote: In kobject_add, when kobject_set_name failed we should put the kobj and return. Signed-off-by: Dave Young [EMAIL PROTECTED] --- lib/kobject.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff -upr