diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-04-16 22:22:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:36 -0700 |
commit | 5355d8cac2a036471c1e739ee5aa1514973ed114 (patch) | |
tree | 83a149347a53e77fcb96f468e116c2e79c87fd03 /drivers/staging/pohmelfs | |
parent | f71fb77c29c83ef22ebd07fffd0581f2bec69b62 (diff) | |
download | blackbird-obmc-linux-5355d8cac2a036471c1e739ee5aa1514973ed114.tar.gz blackbird-obmc-linux-5355d8cac2a036471c1e739ee5aa1514973ed114.zip |
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>
Diffstat (limited to 'drivers/staging/pohmelfs')
-rw-r--r-- | drivers/staging/pohmelfs/trans.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/trans.c b/drivers/staging/pohmelfs/trans.c index fef5f9bd6920..2a4568d58012 100644 --- a/drivers/staging/pohmelfs/trans.c +++ b/drivers/staging/pohmelfs/trans.c @@ -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) { |