Re: [RFC 1/2] kobject_set_name - error handling

From: Greg KH
Date: Tue May 11 2004 - 18:52:16 EST


On Fri, May 09, 2003 at 03:35:23PM +0530, Maneesh Soni wrote:
> On Fri, May 07, 2004 at 03:25:49PM -0700, Greg KH wrote:
> > On Tue, May 04, 2004 at 11:09:08AM +0530, Maneesh Soni wrote:
> > >
> > > Greg, Are the patches fit for inclusion? I need to know this as my sysfs backing
> > > store patches are taking back seats because of these changes, particulary the
> > > one in second patch :-(.
> >
> > I'm awash in different patches from you. Can you try sending me the
> > ones you think are good enough for inclusion right now? We can work
> > from there.
> >
>
> Sorry Greg, for confusing you by sending multiple copies. Here we are talking
> about two patches which cleans up the kobject_set_name() usuage in the routines
> as mentioned below. The first one is appended here and the second one in the
> next mail. I have complied and tested (booting) both the patches and hope they
> are good for inclusion.
>
>
> 1) kobject_set_name-cleanup-01.patch
>
> This patch corrects the following by checking the reutrn code from
> kobject_set_name().
>
> bus_add_driver()
> bus_register()
> sys_dev_register()

Ok, I applied this patch (it needed some manual messing with due to some
other patches in this area by others.)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/