netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] address automated build complaints
@ 2020-04-13 17:33 Shannon Nelson
  2020-04-13 17:33 ` [PATCH net 1/2] ionic: add dynamic_debug header Shannon Nelson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shannon Nelson @ 2020-04-13 17:33 UTC (permalink / raw)
  To: davem, netdev; +Cc: Shannon Nelson

Kernel build checks found a couple of things to improve.

Shannon Nelson (2):
  ionic: add dynamic_debug header
  ionic: fix unused assignment

 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH net 1/2] ionic: add dynamic_debug header
  2020-04-13 17:33 [PATCH net 0/2] address automated build complaints Shannon Nelson
@ 2020-04-13 17:33 ` Shannon Nelson
  2020-04-13 17:33 ` [PATCH net 2/2] ionic: fix unused assignment Shannon Nelson
  2020-04-14 23:30 ` [PATCH net 0/2] address automated build complaints David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Shannon Nelson @ 2020-04-13 17:33 UTC (permalink / raw)
  To: davem, netdev; +Cc: Shannon Nelson

Add the appropriate header for using dynamic_hex_dump(), which
seems to be incidentally included in some configurations but
not all.

Fixes: 7e4d47596b68 ("ionic: replay filters after fw upgrade")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
index f3c7dd1596ee..27b7eca19784 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"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH net 2/2] ionic: fix unused assignment
  2020-04-13 17:33 [PATCH net 0/2] address automated build complaints Shannon Nelson
  2020-04-13 17:33 ` [PATCH net 1/2] ionic: add dynamic_debug header Shannon Nelson
@ 2020-04-13 17:33 ` Shannon Nelson
  2020-04-14 23:30 ` [PATCH net 0/2] address automated build complaints David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Shannon Nelson @ 2020-04-13 17:33 UTC (permalink / raw)
  To: davem, netdev; +Cc: Shannon Nelson

Remove an unused initialized value.

Fixes: 7e4d47596b68 ("ionic: replay filters after fw upgrade")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
index 27b7eca19784..80eeb7696e01 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
@@ -26,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;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net 0/2] address automated build complaints
  2020-04-13 17:33 [PATCH net 0/2] address automated build complaints Shannon Nelson
  2020-04-13 17:33 ` [PATCH net 1/2] ionic: add dynamic_debug header Shannon Nelson
  2020-04-13 17:33 ` [PATCH net 2/2] ionic: fix unused assignment Shannon Nelson
@ 2020-04-14 23:30 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2020-04-14 23:30 UTC (permalink / raw)
  To: snelson; +Cc: netdev

From: Shannon Nelson <snelson@pensando.io>
Date: Mon, 13 Apr 2020 10:33:09 -0700

> Kernel build checks found a couple of things to improve.

Series applied, thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14 23:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 17:33 [PATCH net 0/2] address automated build complaints Shannon Nelson
2020-04-13 17:33 ` [PATCH net 1/2] ionic: add dynamic_debug header Shannon Nelson
2020-04-13 17:33 ` [PATCH net 2/2] ionic: fix unused assignment Shannon Nelson
2020-04-14 23:30 ` [PATCH net 0/2] address automated build complaints David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).