summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorLi Haifeng <omycle@gmail.com>2014-12-11 00:44:47 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 02:41:08 +0100
commita1ad28973d3d9fe23fa73fbb66fba077a987dd81 (patch)
tree53bae97999593fcd65ff02132646477d0ad41dde /Kbuild
parentmm: fix a spelling mistake (diff)
downloadlinux-a1ad28973d3d9fe23fa73fbb66fba077a987dd81.tar.xz
linux-a1ad28973d3d9fe23fa73fbb66fba077a987dd81.zip
mm/frontswap.c: fix the condition in BUG_ON
The largest index of swap device is MAX_SWAPFILES-1. So the type should be less than MAX_SWAPFILES. Signed-off-by: Haifeng Li <omycle@gmail.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions