mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 00:10:27 +07:00
954b54dea0
The new ixgbevf_set_rx_buffer_len() function causes a harmless warnings
in configurations with large page size:
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c: In function 'ixgbevf_set_rx_buffer_len':
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:1758:15: error: unused variable 'max_frame' [-Werror=unused-variable]
This rephrases the code so that the compiler can see the use of that
variable, making it slightly easier to read in the process.
Fixes:
|
||
---|---|---|
.. | ||
defines.h | ||
ethtool.c | ||
ixgbevf_main.c | ||
ixgbevf.h | ||
Makefile | ||
mbx.c | ||
mbx.h | ||
regs.h | ||
vf.c | ||
vf.h |