diff options
author | Hannes Reinecke <hare@suse.de> | 2015-02-04 02:11:34 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2015-02-04 11:00:24 -0500 |
commit | 9c4a6b1e42801343535ccab4c190019d9975cce8 (patch) | |
tree | 875a83c04e6fb28896e352649fdf00a204a2c56b /include/scsi | |
parent | f50332ff2574130903356e800913c1a73cc6c1dc (diff) |
scsi_logging: return void for dev_printk() functions
dev_printk() is now a void function, so the related functions
scmd_printk() and sdev_prefix_printk() should be made void, too.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 2e0281ee719c..a4c9336811d1 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -237,14 +237,14 @@ struct scsi_dh_data { | |||
237 | * like scmd_printk, but the device name is passed in | 237 | * like scmd_printk, but the device name is passed in |
238 | * as a string pointer | 238 | * as a string pointer |
239 | */ | 239 | */ |
240 | __printf(4, 5) int | 240 | __printf(4, 5) void |
241 | sdev_prefix_printk(const char *, const struct scsi_device *, const char *, | 241 | sdev_prefix_printk(const char *, const struct scsi_device *, const char *, |
242 | const char *, ...); | 242 | const char *, ...); |
243 | 243 | ||
244 | #define sdev_printk(l, sdev, fmt, a...) \ | 244 | #define sdev_printk(l, sdev, fmt, a...) \ |
245 | sdev_prefix_printk(l, sdev, NULL, fmt, ##a) | 245 | sdev_prefix_printk(l, sdev, NULL, fmt, ##a) |
246 | 246 | ||
247 | __printf(3, 4) int | 247 | __printf(3, 4) void |
248 | scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...); | 248 | scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...); |
249 | 249 | ||
250 | #define scmd_dbg(scmd, fmt, a...) \ | 250 | #define scmd_dbg(scmd, fmt, a...) \ |