summaryrefslogtreecommitdiff
path: root/mm/z3fold.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2017-03-03 18:22:09 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-03 21:06:38 +0300
commitd0346b033899b9affa4da8c32bfb574dfb89859e (patch)
tree9afa9a52d221bdedb2523a3d343972b86b5a9c05 /mm/z3fold.c
parent48051c375cac3e0f8f52ccda30329e35da980066 (diff)
downloadlinux-d0346b033899b9affa4da8c32bfb574dfb89859e.tar.xz
sfc: avoid max() in array size
It confuses sparse, which thinks the size isn't constant. Let's achieve the same thing with a BUILD_BUG_ON, since we know which one should be bigger and don't expect them ever to change. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions