netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 08/12] trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix
       [not found] <1430219491-5076-1-git-send-email-ao2@ao2.it>
@ 2015-04-28 11:11 ` Antonio Ospite
  2015-04-29 18:56   ` David Miller
  2015-04-28 11:11 ` [PATCH 10/12] trivial: net: systemport: bcmsysport.h: " Antonio Ospite
  1 sibling, 1 reply; 4+ messages in thread
From: Antonio Ospite @ 2015-04-28 11:11 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Antonio Ospite, Jay Cliburn, Chris Snook, netdev

Fix the 0x0x prefix in an integer constant.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Cc: Jay Cliburn <jcliburn@gmail.com>
Cc: Chris Snook <chris.snook@gmail.com>
Cc: netdev@vger.kernel.org
---
 drivers/net/ethernet/atheros/atl1e/atl1e_hw.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_hw.h b/drivers/net/ethernet/atheros/atl1e/atl1e_hw.h
index 74df16a..88a6271 100644
--- a/drivers/net/ethernet/atheros/atl1e/atl1e_hw.h
+++ b/drivers/net/ethernet/atheros/atl1e/atl1e_hw.h
@@ -129,7 +129,7 @@ s32 atl1e_restart_autoneg(struct atl1e_hw *hw);
 #define     TWSI_CTRL_LD_SLV_ADDR_SHIFT     8
 #define     TWSI_CTRL_SW_LDSTART            0x800
 #define     TWSI_CTRL_HW_LDSTART            0x1000
-#define     TWSI_CTRL_SMB_SLV_ADDR_MASK     0x0x7F
+#define     TWSI_CTRL_SMB_SLV_ADDR_MASK     0x7F
 #define     TWSI_CTRL_SMB_SLV_ADDR_SHIFT    15
 #define     TWSI_CTRL_LD_EXIST              0x400000
 #define     TWSI_CTRL_READ_FREQ_SEL_MASK    0x3
-- 
2.1.4

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

* [PATCH 10/12] trivial: net: systemport: bcmsysport.h: fix 0x0x prefix
       [not found] <1430219491-5076-1-git-send-email-ao2@ao2.it>
  2015-04-28 11:11 ` [PATCH 08/12] trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix Antonio Ospite
@ 2015-04-28 11:11 ` Antonio Ospite
  2015-04-29 18:56   ` David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Antonio Ospite @ 2015-04-28 11:11 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Antonio Ospite, Florian Fainelli, netdev

Fix the 0x0x prefix in an integer constant.

In this case, while at it, also fix a typo (s/unitcast/unicast/).

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org
---
 drivers/net/ethernet/broadcom/bcmsysport.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/broadcom/bcmsysport.h b/drivers/net/ethernet/broadcom/bcmsysport.h
index 7e3d87a..e2c043e 100644
--- a/drivers/net/ethernet/broadcom/bcmsysport.h
+++ b/drivers/net/ethernet/broadcom/bcmsysport.h
@@ -543,7 +543,7 @@ struct bcm_sysport_tx_counters {
 	u32	jbr;		/* RO # of xmited jabber count*/
 	u32	bytes;		/* RO # of xmited byte count */
 	u32	pok;		/* RO # of xmited good pkt */
-	u32	uc;		/* RO (0x0x4f0)# of xmited unitcast pkt */
+	u32	uc;		/* RO (0x4f0) # of xmited unicast pkt */
 };
 
 struct bcm_sysport_mib {
-- 
2.1.4

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

* Re: [PATCH 10/12] trivial: net: systemport: bcmsysport.h: fix 0x0x prefix
  2015-04-28 11:11 ` [PATCH 10/12] trivial: net: systemport: bcmsysport.h: " Antonio Ospite
@ 2015-04-29 18:56   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2015-04-29 18:56 UTC (permalink / raw)
  To: ao2; +Cc: trivial, f.fainelli, netdev

From: Antonio Ospite <ao2@ao2.it>
Date: Tue, 28 Apr 2015 13:11:29 +0200

> Fix the 0x0x prefix in an integer constant.
> 
> In this case, while at it, also fix a typo (s/unitcast/unicast/).
> 
> Signed-off-by: Antonio Ospite <ao2@ao2.it>

Applied.

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

* Re: [PATCH 08/12] trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix
  2015-04-28 11:11 ` [PATCH 08/12] trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix Antonio Ospite
@ 2015-04-29 18:56   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2015-04-29 18:56 UTC (permalink / raw)
  To: ao2; +Cc: trivial, jcliburn, chris.snook, netdev

From: Antonio Ospite <ao2@ao2.it>
Date: Tue, 28 Apr 2015 13:11:27 +0200

> Fix the 0x0x prefix in an integer constant.
> 
> Signed-off-by: Antonio Ospite <ao2@ao2.it>

Applied.

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

end of thread, other threads:[~2015-04-29 18:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1430219491-5076-1-git-send-email-ao2@ao2.it>
2015-04-28 11:11 ` [PATCH 08/12] trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix Antonio Ospite
2015-04-29 18:56   ` David Miller
2015-04-28 11:11 ` [PATCH 10/12] trivial: net: systemport: bcmsysport.h: " Antonio Ospite
2015-04-29 18:56   ` 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).