aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorRoel Kluin <[email protected]>2009-05-15 17:16:45 +0000
committerRoland Dreier <[email protected]>2009-05-15 17:16:45 +0000
commit28e43a519b9edb8277fc6b490ad17aa38c45a02b (patch)
tree56fd31d1d4e67a770d4fe55bff0ae570e4a7df3f /security/selinux/hooks.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus (diff)
downloadkernel-28e43a519b9edb8277fc6b490ad17aa38c45a02b.tar.gz
kernel-28e43a519b9edb8277fc6b490ad17aa38c45a02b.zip
RDMA/nes: Fix off-by-one bugs in reset_adapter_ne020() and init_serdes()
With a postfix increment, i is incremented one past 10K/5K before the loop ends, so the error messages will be displayed too soon if the test succeeds on the last iteration. Fix the comparisons to be > instead of >=. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions