diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-16 23:54:30 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 11:07:14 -0500 |
commit | fcc5a652a51332d5e6582697bd847b082a6b4e40 (patch) | |
tree | 830cb2a9f86ef92c45c5afdaeeb81888fe40794c | |
parent | fb3679372bd7967f39ea48e701fcd1e8f55e75cd (diff) |
debugging printk in sg_poll() uses %x to print POLL... bitmap
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | drivers/scsi/sg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index c746c6936ee4..0c434453aab3 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -1174,7 +1174,7 @@ sg_poll(struct file *filp, poll_table * wait) | |||
1174 | } else if (count < SG_MAX_QUEUE) | 1174 | } else if (count < SG_MAX_QUEUE) |
1175 | res |= POLLOUT | POLLWRNORM; | 1175 | res |= POLLOUT | POLLWRNORM; |
1176 | SCSI_LOG_TIMEOUT(3, sg_printk(KERN_INFO, sdp, | 1176 | SCSI_LOG_TIMEOUT(3, sg_printk(KERN_INFO, sdp, |
1177 | "sg_poll: res=0x%x\n", (int) res)); | 1177 | "sg_poll: res=0x%x\n", (__force u32) res)); |
1178 | return res; | 1178 | return res; |
1179 | } | 1179 | } |
1180 | 1180 | ||