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:
Roel Kluin
2009-04-16 22:22:40 +02:00
committed by Greg Kroah-Hartman
parent f71fb77c29
commit 5355d8cac2
5 changed files with 6 additions and 7 deletions

View File

@ -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) {