diff mbox series

[RFC,jkirsher-next-queue] ixgbe: ixgbe_ipsec_clear_hw_tables() can be static

Message ID 20171218205924.GA83605@lkp-snb01
State RFC
Delegated to: Jeff Kirsher
Headers show
Series [RFC,jkirsher-next-queue] ixgbe: ixgbe_ipsec_clear_hw_tables() can be static | expand

Commit Message

kbuild test robot Dec. 18, 2017, 8:59 p.m. UTC
Fixes: 7efd4bc27356 ("ixgbe: add ipsec register access routines")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 ixgbe_ipsec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shannon Nelson Dec. 18, 2017, 9:05 p.m. UTC | #1
Sure, or we can just fix up the original patch.
sln

On 12/18/2017 12:59 PM, kbuild test robot wrote:
> 
> Fixes: 7efd4bc27356 ("ixgbe: add ipsec register access routines")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>   ixgbe_ipsec.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
> index 4d71517..c726136 100644
> --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
> +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
> @@ -129,7 +129,7 @@ static void ixgbe_ipsec_set_rx_ip(struct ixgbe_hw *hw, u16 idx, __be32 addr[])
>    * ixgbe_ipsec_clear_hw_tables - because some tables don't get cleared on reset
>    * @adapter: board private structure
>    **/
> -void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)
> +static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)
>   {
>   	struct ixgbe_hw *hw = &adapter->hw;
>   	u32 buf[4] = {0, 0, 0, 0};
>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
index 4d71517..c726136 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
@@ -129,7 +129,7 @@  static void ixgbe_ipsec_set_rx_ip(struct ixgbe_hw *hw, u16 idx, __be32 addr[])
  * ixgbe_ipsec_clear_hw_tables - because some tables don't get cleared on reset
  * @adapter: board private structure
  **/
-void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)
+static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)
 {
 	struct ixgbe_hw *hw = &adapter->hw;
 	u32 buf[4] = {0, 0, 0, 0};