All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] net: i10e: use matching format indentifiers
@ 2016-07-31  9:39 ` Heinrich Schuchardt
  0 siblings, 0 replies; 11+ messages in thread
From: Heinrich Schuchardt @ 2016-07-31  9:39 UTC (permalink / raw)
  To: Jeff Kirsher; +Cc: intel-wired-lan, netdev, linux-kernel, Heinrich Schuchardt

i is defined as int but output as %u several times.
Change the definition to unsigned.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
index c912e04..8b08a69 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
@@ -1532,7 +1532,7 @@ static void i40e_get_strings(struct net_device *netdev, u32 stringset,
 	struct i40e_vsi *vsi = np->vsi;
 	struct i40e_pf *pf = vsi->back;
 	char *p = (char *)data;
-	int i;
+	unsigned int i;
 
 	switch (stringset) {
 	case ETH_SS_TEST:
-- 
2.8.1

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

end of thread, other threads:[~2016-08-11 19:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-31  9:39 [PATCH 1/1] net: i10e: use matching format indentifiers Heinrich Schuchardt
2016-07-31  9:39 ` [Intel-wired-lan] " Heinrich Schuchardt
2016-08-01  3:47 ` David Miller
2016-08-01  3:47   ` [Intel-wired-lan] " David Miller
2016-08-02 18:15   ` [PATCH 1/1 v2] " Heinrich Schuchardt
2016-08-02 18:15     ` [Intel-wired-lan] " Heinrich Schuchardt
2016-08-10 17:50     ` Jeff Kirsher
2016-08-10 17:50       ` [Intel-wired-lan] " Jeff Kirsher
2016-08-10 23:07       ` [PATCH 1/1 v3] net: i40e: use matching format identifiers Heinrich Schuchardt
2016-08-10 23:07         ` [Intel-wired-lan] " Heinrich Schuchardt
2016-08-11 19:52         ` Bowers, AndrewX

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.