diff options
author | David Miller <davem@davemloft.net> | 2010-08-31 13:35:31 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-09-02 17:23:20 -0300 |
commit | 2e4c332913b5d39fef686b3964098f0d8fd97ead (patch) | |
tree | 7b343bb79761a91c6d684c7436e5d31c287888fe /drivers/scsi/sd.c | |
parent | 6f131ce1dfa9b283ddc212df42b015d152c670a5 (diff) | |
download | kernel_samsung_espresso10-2e4c332913b5d39fef686b3964098f0d8fd97ead.zip kernel_samsung_espresso10-2e4c332913b5d39fef686b3964098f0d8fd97ead.tar.gz kernel_samsung_espresso10-2e4c332913b5d39fef686b3964098f0d8fd97ead.tar.bz2 |
[SCSI] sd, sym53c8xx: Remove warnings after vsprintf %pV introducation.
GCC warns about empty printf format strings, and after
the addition of %pV these existing such cases in the
scsi driver layer were exposed enough for the compiler
to start seeing them.
Based almost entirely upon a patch by Joe Perches.
[jejb: fix up sym53c8xx msg]
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 2714bec..cd71f46 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2625,15 +2625,15 @@ module_exit(exit_sd); static void sd_print_sense_hdr(struct scsi_disk *sdkp, struct scsi_sense_hdr *sshdr) { - sd_printk(KERN_INFO, sdkp, ""); + sd_printk(KERN_INFO, sdkp, " "); scsi_show_sense_hdr(sshdr); - sd_printk(KERN_INFO, sdkp, ""); + sd_printk(KERN_INFO, sdkp, " "); scsi_show_extd_sense(sshdr->asc, sshdr->ascq); } static void sd_print_result(struct scsi_disk *sdkp, int result) { - sd_printk(KERN_INFO, sdkp, ""); + sd_printk(KERN_INFO, sdkp, " "); scsi_show_result(result); } |