Re: [PATCH] driver/core: Fix various warnings due todev_set_name() usage

From: Greg KH
Date: Tue Jun 16 2009 - 22:55:48 EST


On Wed, Jun 17, 2009 at 11:45:50AM +1000, Benjamin Herrenschmidt wrote:
> gcc is too smart, we get:
>
> drivers/base/core.c: In function âdevice_addâ:
> drivers/base/core.c:877: warning: format not a string literal and no format arguments
> drivers/base/core.c: In function â__root_device_registerâ:
> drivers/base/core.c:1274: warning: format not a string literal and no format arguments
>
> With 4.3.3 and later. This fixes a bunch of them in drivers/base

These have all been fixed in linux-next for a while, and are already
contained in the patchset I sent to Linus for inclusion in his tree
yesterday.

But thanks anyway :)

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/