2015-05-25 19:47:36

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] atm:he - Change 1 to true for bool type variable.

The variable irq_coalesce is bool type.
So assign the value true instead of 1.

Signed-off-by: Shailendra Verma <[email protected]>
---
drivers/atm/he.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 93dca2e..0237271 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -116,7 +116,7 @@ static bool disable64;
static short nvpibits = -1;
static short nvcibits = -1;
static short rx_skb_reserve = 16;
-static bool irq_coalesce = 1;
+static bool irq_coalesce = true;
static bool sdh = 0;

/* Read from EEPROM = 0000 0011b */
--
1.7.9.5


2015-05-25 20:35:15

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] atm:he - Change 1 to true for bool type variable.

From: Shailendra Verma <[email protected]>
Date: Tue, 26 May 2015 01:17:23 +0530

> The variable irq_coalesce is bool type.
> So assign the value true instead of 1.
>
> Signed-off-by: Shailendra Verma <[email protected]>

Applied.