* [PATCH] staging: et131x: add blank lines after declarations
@ 2014-05-04 17:26 Maarten de Jonge
2014-05-05 20:28 ` Mark Einon
0 siblings, 1 reply; 2+ messages in thread
From: Maarten de Jonge @ 2014-05-04 17:26 UTC (permalink / raw)
To: Mark Einon; +Cc: Greg Kroah-Hartman, devel, linux-kernel, Maarten de Jonge
Signed-off-by: Maarten de Jonge <mdejonge1990@gmail.com>
---
drivers/staging/et131x/et131x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
index d329cf3..747fd9a 100644
--- a/drivers/staging/et131x/et131x.c
+++ b/drivers/staging/et131x/et131x.c
@@ -762,6 +762,7 @@ static int et131x_init_eeprom(struct et131x_adapter *adapter)
*/
if (eestatus & 0x4C) {
int write_failed = 0;
+
if (pdev->revision == 0x01) {
int i;
static const u8 eedata[4] = { 0xFE, 0x13, 0x10, 0xFF };
@@ -2091,6 +2092,7 @@ static void et1310_disable_phy_coma(struct et131x_adapter *adapter)
static inline u32 bump_free_buff_ring(u32 *free_buff_ring, u32 limit)
{
u32 tmp_free_buff_ring = *free_buff_ring;
+
tmp_free_buff_ring++;
/* This works for all cases where limit < 1024. The 1023 case
* works because 1023++ is 1024 which means the if condition is not
--
1.9.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-05 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-04 17:26 [PATCH] staging: et131x: add blank lines after declarations Maarten de Jonge
2014-05-05 20:28 ` Mark Einon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome