提交 fcc5a652 编写于 作者: A Al Viro

debugging printk in sg_poll() uses %x to print POLL... bitmap

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 fb367937
...@@ -1174,7 +1174,7 @@ sg_poll(struct file *filp, poll_table * wait) ...@@ -1174,7 +1174,7 @@ sg_poll(struct file *filp, poll_table * wait)
} else if (count < SG_MAX_QUEUE) } else if (count < SG_MAX_QUEUE)
res |= POLLOUT | POLLWRNORM; res |= POLLOUT | POLLWRNORM;
SCSI_LOG_TIMEOUT(3, sg_printk(KERN_INFO, sdp, 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; return res;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册