drivers/isdn/hardware/mISDN: change type of hfc_jiffies to unsigned long
Subsystems (3)
PATCH v2 1/1 drivers/isdn/hardware/mISDN: change type of hfc_jiffies to unsigned long
Jiffies are unsigned long, make sure we fit in jiffies store variable on archs with bits per long > 32.
Patch suggested by Jiri Slaby.
Signed-off-by Hannes Eder <[email protected]>
---
Quoted 7 lines · Jiri Slaby
Review
Quoted 3 lines · Hannes Eder
...
(quoted diff) +1
-1-static u32 hfc_jiffies; +static ulong hfc_jiffies;Ok, unsigned long would be nicer. I though it would be implicit when writing about ulong, but I see not in this uint-et-al context...
Uhm, it was not clear in this context, as uint is used all over the place.
Thank you Jiri.
Best,
Hannes
drivers/isdn/hardware/mISDN/hfcpci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/isdn/hardware/mISDN/hfcpci.c +1 -1
@@ -57,7 +57,7 @@ static int HFC_cnt;static uint debug;static uint poll, tics;static struct timer_list hfc_tl; -static u32 hfc_jiffies; +static unsigned long hfc_jiffies;MODULE_AUTHOR ("Karsten Keil" );MODULE_LICENSE ("GPL" );
David Miller
maintainerFrom: Hannes Eder <[email protected]>
Date: Sun, 15 Feb 2009 00:10:33 +0100
Quoted 6 lines
Jiffies are unsigned long, make sure we fit in jiffies store variable on archs with bits per long > 32.
Patch suggested by Jiri Slaby.
Signed-off-by Hannes Eder <[email protected]>
Also applied, thank you.