Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 952d9639 authored by Wei Yongjun's avatar Wei Yongjun Committed by Jeff Kirsher
Browse files

i40e: fix sparse non static symbol warning



Fixes the following sparse warnings:

drivers/net/ethernet/intel/i40e/i40e_nvm.c:254:13: warning:
 symbol 'i40e_write_nvm_aq' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tested-By: default avatarJim Young <jamesx.m.young@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e222ade6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ i40e_status i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
 *
 * Writes a 16 bit words buffer to the Shadow RAM using the admin command.
 **/
i40e_status i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer,
static i40e_status i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer,
				     u32 offset, u16 words, void *data,
				     bool last_command)
{