commit | d0346b033899b9affa4da8c32bfb574dfb89859e | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Fri Mar 03 15:22:09 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 03 10:06:38 2017 -0800 |
tree | 9afa9a52d221bdedb2523a3d343972b86b5a9c05 | |
parent | 48051c375cac3e0f8f52ccda30329e35da980066 [diff] |
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>