diff options
author | 2017-03-03 15:22:09 +0000 | |
---|---|---|
committer | 2017-03-03 10:06:38 -0800 | |
commit | d0346b033899b9affa4da8c32bfb574dfb89859e (patch) | |
tree | 9afa9a52d221bdedb2523a3d343972b86b5a9c05 /scripts/gcc-plugins/sancov_plugin.c | |
parent | Merge tag 'linux-can-fixes-for-4.11-20170303' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff) | |
download | linux-dev-d0346b033899b9affa4da8c32bfb574dfb89859e.tar.xz linux-dev-d0346b033899b9affa4da8c32bfb574dfb89859e.zip |
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 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions