summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-04-14 16:30:14 -0700
committerDavid S. Miller <davem@davemloft.net>2020-04-14 16:30:14 -0700
commitbec8141a17b1af160aa9ff652a74f69ef31f48c7 (patch)
treec167f783dabb068512bf3bb3bcc4d020740f850c
parent0e631eee17dcea576ab922fa70e4fdbd596ee452 (diff)
parent2c0df9f9eddbc87fa2ef8da86264995404d816b9 (diff)
Merge branch 'ionic-address-automated-build-complaints'
Shannon Nelson says: ==================== ionic: address automated build complaints Kernel build checks found a couple of things to improve. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
index f3c7dd1596ee..80eeb7696e01 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
@@ -2,6 +2,7 @@
/* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
#include <linux/netdevice.h>
+#include <linux/dynamic_debug.h>
#include <linux/etherdevice.h>
#include "ionic.h"
@@ -25,7 +26,7 @@ void ionic_rx_filter_replay(struct ionic_lif *lif)
struct hlist_head *head;
struct hlist_node *tmp;
unsigned int i;
- int err = 0;
+ int err;
ac = &ctx.cmd.rx_filter_add;