commit | 6387f65e2acb9a63044bd64464401771b8cf1acc | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Sat Jul 31 07:39:17 2021 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 02 15:14:15 2021 +0100 |
tree | 37b9986617dc88b4e0a8c26277b4440528f36714 | |
parent | 7fe74dfd41c428afb24e2e615470832fa997ff14 [diff] |
net: sparx5: fix compiletime_assert for GCC 4.9 Stephen reports sparx5 broke GCC 4.9 build. Move the compiletime_assert() out of the static function. Compile-tested only, no object code changes. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: f3cad2611a77 ("net: sparx5: add hostmode with phylink support") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>