aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2022-03-08 00:13:53 +0100
committerJakub Kicinski <[email protected]>2022-03-07 22:14:47 -0800
commit13d04d79701ba240969b296903de14db3734ab25 (patch)
treecf58ddd5668b05ece1af1e2677167ff1b730871a /drivers/fpga/fpga-bridge.c
parent8daf4e75fc09d6b0ca8fea0988959c99643aa8a8 (diff)
ice: xsk: fix GCC version checking against pragma unroll presence
Pragma unroll was introduced around GCC 8, whereas current xsk code in ice that prepares loop_unrolled_for macro that is based on mentioned pragma, compares GCC version against 4, which is wrong and Stephen found this out by compiling kernel with GCC 5.4 [0]. Fix this mistake and check if GCC version is >= 8. [0]: https://lore.kernel.org/netdev/[email protected]/ Fixes: 126cdfe1007a ("ice: xsk: Improve AF_XDP ZC Tx and use batching API") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Maciej Fijalkowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions