summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/sc/timer.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-03 10:16:15 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 17:04:20 +0200
commit3879b6b6a8ee39b50559b2c2dd083c557d39e0f8 (patch)
tree680b2b4172b7c8c55589461e5812ad7828eb50f6 /drivers/isdn/sc/timer.c
parent[PATCH] isdn-debug-build-fix (diff)
downloadlinux-3879b6b6a8ee39b50559b2c2dd083c557d39e0f8.tar.xz
linux-3879b6b6a8ee39b50559b2c2dd083c557d39e0f8.zip
[PATCH] isdn: more pr_debug() fixes
drivers/isdn/sc/event.c: In function 'indicate_status': drivers/isdn/sc/event.c:49: error: 'events' undeclared (first use in this function) drivers/isdn/sc/event.c:49: error: (Each undeclared identifier is reported only once drivers/isdn/sc/event.c:49: error: for each function it appears in.) drivers/isdn/sc/event.c:49: warning: format '%d' expects type 'int', but argument 4 has type 'ulong' drivers/isdn/sc/interrupt.c: In function 'interrupt_handler': drivers/isdn/sc/interrupt.c:97: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int' drivers/isdn/sc/timer.c: In function 'check_reset': drivers/isdn/sc/timer.c:80: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Acked-by: Karsten Keil <kkeil@suse.de> Cc: Zach Brown <zach.brown@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--drivers/isdn/sc/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/sc/timer.c b/drivers/isdn/sc/timer.c
index aced19aac5a2..f43282be0ada 100644
--- a/drivers/isdn/sc/timer.c
+++ b/drivers/isdn/sc/timer.c
@@ -76,7 +76,7 @@ void check_reset(unsigned long data)
if (sc_adapter[card]->StartOnReset)
startproc(card);
} else {
- pr_debug("%s: No signature yet, waiting another %d jiffies.\n",
+ pr_debug("%s: No signature yet, waiting another %lu jiffies.\n",
sc_adapter[card]->devicename, CHECKRESET_TIME);
mod_timer(&sc_adapter[card]->reset_timer, jiffies+CHECKRESET_TIME);
spin_unlock_irqrestore(&sc_adapter[card]->lock, flags);