Re: [PATCH] driver core: Suppress sysfs warnings fordevice_rename().

From: Stephen Hemminger
Date: Tue May 20 2008 - 17:45:31 EST


On Tue, 20 May 2008 12:59:13 +0200
Cornelia Huck <cornelia.huck@xxxxxxxxxx> wrote:

> OK, here is an actually-compiled patch with proper description and
> s-o-b. Comments?
>
> -----
>
> 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.
>
> Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
>

This is still getting to be overkill. I prefer that the warnings
always are removed.
--
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/