Commit ca4e495f authored by Randy Dunlap's avatar Randy Dunlap Committed by Jeff Garzik

[PATCH] prism54: fix printk format warnings

prism54 build shows some printk format complaints:
(sparc64 build warning)

drivers/net/wireless/prism54/isl_38xx.c:131: warning: long int format, different type arg (arg 3)
drivers/net/wireless/prism54/isl_38xx.c:151: warning: long int format, different type arg (arg 3)

cross-compile results:
https://www.osdl.org/plm-cgi/plm?module=patch_info&patch_id=4240Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 1274fcd6
......@@ -125,11 +125,11 @@ isl38xx_trigger_device(int asleep, void __iomem *device_base)
#if VERBOSE > SHOW_ERROR_MESSAGES
do_gettimeofday(&current_time);
DEBUG(SHOW_TRACING, "%08li.%08li Device wakeup triggered\n",
current_time.tv_sec, current_time.tv_usec);
current_time.tv_sec, (long)current_time.tv_usec);
#endif
DEBUG(SHOW_TRACING, "%08li.%08li Device register read %08x\n",
current_time.tv_sec, current_time.tv_usec,
current_time.tv_sec, (long)current_time.tv_usec,
readl(device_base + ISL38XX_CTRL_STAT_REG));
udelay(ISL38XX_WRITEIO_DELAY);
......@@ -139,7 +139,7 @@ isl38xx_trigger_device(int asleep, void __iomem *device_base)
do_gettimeofday(&current_time);
DEBUG(SHOW_TRACING,
"%08li.%08li Device register abadface\n",
current_time.tv_sec, current_time.tv_usec);
current_time.tv_sec, (long)current_time.tv_usec);
#endif
/* read the Device Status Register until Sleepmode bit is set */
while (reg = readl(device_base + ISL38XX_CTRL_STAT_REG),
......@@ -150,7 +150,7 @@ isl38xx_trigger_device(int asleep, void __iomem *device_base)
DEBUG(SHOW_TRACING,
"%08li.%08li Device register read %08x\n",
current_time.tv_sec, current_time.tv_usec,
current_time.tv_sec, (long)current_time.tv_usec,
readl(device_base + ISL38XX_CTRL_STAT_REG));
udelay(ISL38XX_WRITEIO_DELAY);
......@@ -158,7 +158,7 @@ isl38xx_trigger_device(int asleep, void __iomem *device_base)
do_gettimeofday(&current_time);
DEBUG(SHOW_TRACING,
"%08li.%08li Device asleep counter %i\n",
current_time.tv_sec, current_time.tv_usec,
current_time.tv_sec, (long)current_time.tv_usec,
counter);
#endif
}
......@@ -174,7 +174,7 @@ isl38xx_trigger_device(int asleep, void __iomem *device_base)
#if VERBOSE > SHOW_ERROR_MESSAGES
do_gettimeofday(&current_time);
DEBUG(SHOW_TRACING, "%08li.%08li Device register read %08x\n",
current_time.tv_sec, current_time.tv_usec, reg);
current_time.tv_sec, (long)current_time.tv_usec, reg);
#endif
} else {
/* device is (still) awake */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment