projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'remoteproc-4.1-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
mm
/
frontswap.c
diff --git
a/mm/frontswap.c
b/mm/frontswap.c
index f2a3571c6e22573867cf6e4ba2d481a663a3d04e..8d82809eb0859a49faea0ade42251daab1419982 100644
(file)
--- a/
mm/frontswap.c
+++ b/
mm/frontswap.c
@@
-182,7
+182,7
@@
void __frontswap_init(unsigned type, unsigned long *map)
if (frontswap_ops)
frontswap_ops->init(type);
else {
- BUG_ON(type > MAX_SWAPFILES);
+ BUG_ON(type >
=
MAX_SWAPFILES);
set_bit(type, need_init);
}
}