Staging: fix operator precedence errors
`!' has a higher precedence than `&' and `|' has a higher precedence than `?' Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f71fb77c29
commit
5355d8cac2
@ -101,7 +101,8 @@ static int netfs_trans_send_pages(struct netfs_trans *t, struct netfs_state *st)
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
msg.msg_flags = MSG_WAITALL|(attached_pages == 1)?0:MSG_MORE;
|
||||
msg.msg_flags = MSG_WAITALL | (attached_pages == 1 ? 0 :
|
||||
MSG_MORE);
|
||||
|
||||
err = kernel_sendpage(st->socket, page, 0, size, msg.msg_flags);
|
||||
if (err <= 0) {
|
||||
|
Reference in New Issue
Block a user