You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
James Bottomley
parent
f50332ff25
commit
9c4a6b1e42
@@ -237,14 +237,14 @@ struct scsi_dh_data {
|
||||
* like scmd_printk, but the device name is passed in
|
||||
* as a string pointer
|
||||
*/
|
||||
__printf(4, 5) int
|
||||
__printf(4, 5) void
|
||||
sdev_prefix_printk(const char *, const struct scsi_device *, const char *,
|
||||
const char *, ...);
|
||||
|
||||
#define sdev_printk(l, sdev, fmt, a...) \
|
||||
sdev_prefix_printk(l, sdev, NULL, fmt, ##a)
|
||||
|
||||
__printf(3, 4) int
|
||||
__printf(3, 4) void
|
||||
scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...);
|
||||
|
||||
#define scmd_dbg(scmd, fmt, a...) \
|
||||
|
||||
Reference in New Issue
Block a user