diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-07-31 07:39:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 15:14:15 +0100 |
commit | 6387f65e2acb9a63044bd64464401771b8cf1acc (patch) | |
tree | 37b9986617dc88b4e0a8c26277b4440528f36714 /Documentation/networking/operstates.rst | |
parent | 7fe74dfd41c428afb24e2e615470832fa997ff14 (diff) | |
download | lwn-6387f65e2acb9a63044bd64464401771b8cf1acc.tar.gz lwn-6387f65e2acb9a63044bd64464401771b8cf1acc.zip |
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>
Diffstat (limited to 'Documentation/networking/operstates.rst')
0 files changed, 0 insertions, 0 deletions