Subject: Re: [PATCH] driver core: Suppress sysfs warnings for device_rename().

From: Stephen Hemminger <[email-masked]>
Date: Tue, 10 Jun 2008 08:30:14 -0700

On Tue, 10 Jun 2008 11:09:08 +0200
Cornelia Huck <[email-masked]> wrote:

> On Wed, 21 May 2008 10:05:56 +0200,
> Cornelia Huck <[email-masked]> wrote:
> 
> Just digging through my backlog: Is there any further interest in this
> patch?
> 
> > On Tue, 20 May 2008 15:52:44 -0700,
> > Greg KH <[email-masked]> wrote:
> > 
> > > On Tue, May 20, 2008 at 12:59:13PM +0200, Cornelia Huck wrote:
> > > > OK, here is an actually-compiled patch with proper description and
> > > > s-o-b. Comments?
> > > 
> > > Looks good to me, feel free to add an:
> > > 	Acked-by: Greg Kroah-Hartman <[email-masked]>
> > > 
> > > to it.
> > > 
> > > David, are you going to take this through your tree?
> > 
> > Here it is again, respun against today's git:
> > 
> > 
> > driver core: Suppress sysfs warnings for device_rename().
> > 
> > Renaming network devices to an already existing name is not
> > something we want sysfs to print a scary warning for, since the
> > callers can deal with this correctly. So let's introduce
> > sysfs_create_link_nowarn() which gets rid of the common warning.
> > 
> > Acked-by: Greg Kroah-Hartman <[email-masked]>
> > Signed-off-by: Cornelia Huck <[email-masked]>
> > 

I you want to put the warnings back this is a reasonable way.