diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-07-31 16:39:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 16:14:15 +0200 |
commit | 6387f65e2acb9a63044bd64464401771b8cf1acc (patch) | |
tree | 37b9986617dc88b4e0a8c26277b4440528f36714 /Documentation | |
parent | net: natsemi: Fix missing pci_disable_device() in probe and remove (diff) | |
download | linux-6387f65e2acb9a63044bd64464401771b8cf1acc.tar.xz linux-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')
0 files changed, 0 insertions, 0 deletions