]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RDS: Fix ordering in a conditional
authorAndy Grover <andy.grover@oracle.com>
Thu, 9 Apr 2009 14:09:40 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Apr 2009 00:21:18 +0000 (17:21 -0700)
commit7acd4a794c1530af063e51f3f7171e75556458f3
tree4c213f984afa23fbb704a9e94f6f754ed50bdb5d
parent7b70d0336da777c00395cc7a503497c2cdabd1a8
RDS: Fix ordering in a conditional

Putting the constant first is a supposed "best practice" that actually makes
the code harder to read.

Thanks to Roland Dreier for finding a bug in this "simple, obviously correct"
patch.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/rdma.c