summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorzhouchuangao <zhouchuangao@vivo.com>2021-05-05 03:40:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-05 20:27:27 +0200
commitecfc2bda7aafc5c87b69a3d7a1fc1016dd21d5a7 (patch)
tree6b7335a1c81636255207de32b3df75832b615e0c /lib
parentmm/zswap.c: switch from strlcpy to strscpy (diff)
downloadlinux-ecfc2bda7aafc5c87b69a3d7a1fc1016dd21d5a7.tar.xz
linux-ecfc2bda7aafc5c87b69a3d7a1fc1016dd21d5a7.zip
mm/zsmalloc: use BUG_ON instead of if condition followed by BUG.
It can be optimized at compile time. Link: https://lkml.kernel.org/r/1616727798-9110-1-git-send-email-zhouchuangao@vivo.com Signed-off-by: zhouchuangao <zhouchuangao@vivo.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions