projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb36793
)
debugging printk in sg_poll() uses %x to print POLL... bitmap
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 17 Jul 2017 03:54:30 +0000
(23:54 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 28 Nov 2017 16:07:14 +0000
(11:07 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/sg.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sg.c
b/drivers/scsi/sg.c
index c746c6936ee4227ec95652ec272a6f87cbb1984a..0c434453aab38386d6d0c2b727568141fc205aa1 100644
(file)
--- a/
drivers/scsi/sg.c
+++ b/
drivers/scsi/sg.c
@@
-1174,7
+1174,7
@@
sg_poll(struct file *filp, poll_table * wait)
} else if (count < SG_MAX_QUEUE)
res |= POLLOUT | POLLWRNORM;
SCSI_LOG_TIMEOUT(3, sg_printk(KERN_INFO, sdp,
- "sg_poll: res=0x%x\n", (
int
) res));
+ "sg_poll: res=0x%x\n", (
__force u32
) res));
return res;
}