Skip to contentSkip to conversation

atm:he - Change 0 to false for bool type variable initialization.

PATCH In review Shailendra Verma 2 participants 2 messages May 27, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atm:he - Change 0 to false for bool type variable initialization.

The variable sdh is bool type so initializing it with false value instead of 0.

---
 drivers/atm/he.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/atm/he.c +2 -2
index 93dca2e..eb5bebc 100644
@@ -116,8 +116,8 @@ static bool disable64;
 static short nvpibits = -1;
 static short nvcibits = -1;
 static short rx_skb_reserve = 16;
-static bool irq_coalesce = 1;
-static bool sdh = 0;
+static bool irq_coalesce = true;
+static bool sdh = false;
 
 /* Read from EEPROM = 0000 0011b */
 static unsigned int readtab[] = {
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw

From: Shailendra Verma <[email protected]>
Date: Wed, 27 May 2015 06:50:18 +0530

Quoted 13 lines

The variable sdh is bool type so initializing it with false value instead of 0.

---
 drivers/atm/he.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/atm/he.c +0 -0
index 93dca2e..eb5bebc 100644

drivers/atm/he.c static bool disable64; · line 120

Quoted 7 lines
drivers/atm/he.c +2 -2
@@ -116,8 +116,8 @@ static bool disable64;
 static short nvpibits = -1;
 static short nvcibits = -1;
 static short rx_skb_reserve = 16;
-static bool irq_coalesce = 1;
-static bool sdh = 0;
+static bool irq_coalesce = true;
+static bool sdh = false;

You didn't understand my feedback.

I already applied your patch that handled the irq_coalesce issue, so you have to submit a patch relative to that.

In fact, you should always test that your patch applied to my tree before submitting it.