summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2014-04-21 22:15:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-23 09:05:51 +0200
commit9c63e92baaea8fd35d9892e197a97d3bb39079f4 (patch)
tree2375a04e74f083894db37d4bf8a2fa78619d46bc /drivers/misc
parent86afb22eae1230a84a7835dd370a0a744c92cb74 (diff)
downloadbarebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.gz
treewide: fix signedness mixups in printf format specifiers
This most likely doesn't fix any real bugs, but it's the right thing to do and reduces the noise level with static checkers. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/jtag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/jtag.c b/drivers/misc/jtag.c
index 310da81..f5d0c72 100644
--- a/drivers/misc/jtag.c
+++ b/drivers/misc/jtag.c
@@ -276,7 +276,7 @@ static void jtag_info(struct device_d *pdev)
struct jtag_info *info = pdev->priv;
printf(" JTAG:\n");
- printf(" Devices found: %d\n", info->devices);
+ printf(" Devices found: %u\n", info->devices);
for (dn = 0; dn < info->devices; dn++) {
jid.device = dn;
ret = jtag_ioctl(&info->cdev, JTAG_GET_ID, &jid);