diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-02 18:39:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 00:30:25 -0400 |
commit | acc0e90fbccbc6e4d48184cba0983ea044e131af (patch) | |
tree | 5dee80c06dcb97739f6fae7e397fa8f4a4f8ee25 /drivers/base/firmware_class.c | |
parent | d12b77afb4f0a06e9c7e82a0e88d5f011b862c10 (diff) |
driver core: fix gcc 4.3.3 warnings about string literals
This removes the
warning: format not a string literal and no format arguments
warnings in the driver core that gcc 4.3.3 complains about.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/firmware_class.c')
-rw-r--r-- | drivers/base/firmware_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 3591ba7ff6f7..ddeb819c8f87 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c | |||
@@ -399,7 +399,7 @@ static int fw_register_device(struct device **dev_p, const char *fw_name, | |||
399 | fw_priv->timeout.data = (u_long) fw_priv; | 399 | fw_priv->timeout.data = (u_long) fw_priv; |
400 | init_timer(&fw_priv->timeout); | 400 | init_timer(&fw_priv->timeout); |
401 | 401 | ||
402 | dev_set_name(f_dev, dev_name(device)); | 402 | dev_set_name(f_dev, "%s", dev_name(device)); |
403 | f_dev->parent = device; | 403 | f_dev->parent = device; |
404 | f_dev->class = &firmware_class; | 404 | f_dev->class = &firmware_class; |
405 | dev_set_drvdata(f_dev, fw_priv); | 405 | dev_set_drvdata(f_dev, fw_priv); |