summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/isac.c
diff options
context:
space:
mode:
authorKees Cook2013-09-13 23:52:04 +0200
committerDavid S. Miller2013-09-14 02:02:50 +0200
commit35a4a5733b0a8290de39558b82896ab795b108a7 (patch)
treea4a1d7cc33205a1acb098cdba96e319ada715be6 /drivers/isdn/hisax/isac.c
parentdrivers/atm/he.c: convert to module_pci_driver (diff)
downloadkernel-qcow2-linux-35a4a5733b0a8290de39558b82896ab795b108a7.tar.gz
kernel-qcow2-linux-35a4a5733b0a8290de39558b82896ab795b108a7.tar.xz
kernel-qcow2-linux-35a4a5733b0a8290de39558b82896ab795b108a7.zip
isdn: clean up debug format string usage
Avoid unneeded local string buffers for constructing debug output. Also cleans up debug calls that contain a single parameter so that they cannot be accidentally parsed as format strings. Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Karsten Keil <isdn@linux-pingi.de> Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/isac.c')
-rw-r--r--drivers/isdn/hisax/isac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c
index a365ccc1c99c..7fdf78f46433 100644
--- a/drivers/isdn/hisax/isac.c
+++ b/drivers/isdn/hisax/isac.c
@@ -137,7 +137,7 @@ isac_empty_fifo(struct IsdnCardState *cs, int count)
t += sprintf(t, "isac_empty_fifo cnt %d", count);
QuickHex(t, ptr, count);
- debugl1(cs, cs->dlog);
+ debugl1(cs, "%s", cs->dlog);
}
}
@@ -179,7 +179,7 @@ isac_fill_fifo(struct IsdnCardState *cs)
t += sprintf(t, "isac_fill_fifo cnt %d", count);
QuickHex(t, ptr, count);
- debugl1(cs, cs->dlog);
+ debugl1(cs, "%s", cs->dlog);
}
}