diff options
author | Kees Cook <keescook@chromium.org> | 2013-09-13 23:52:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-14 02:02:50 +0200 |
commit | 35a4a5733b0a8290de39558b82896ab795b108a7 (patch) | |
tree | a4a1d7cc33205a1acb098cdba96e319ada715be6 /drivers/isdn/hisax/config.c | |
parent | drivers/atm/he.c: convert to module_pci_driver (diff) | |
download | linux-35a4a5733b0a8290de39558b82896ab795b108a7.tar.xz 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/config.c')
-rw-r--r-- | drivers/isdn/hisax/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c index bf04d2a3cf4a..b33f53b3ca93 100644 --- a/drivers/isdn/hisax/config.c +++ b/drivers/isdn/hisax/config.c @@ -1896,7 +1896,7 @@ static void EChannel_proc_rcv(struct hisax_d_if *d_if) ptr--; *ptr++ = '\n'; *ptr = 0; - HiSax_putstatus(cs, NULL, cs->dlog); + HiSax_putstatus(cs, NULL, "%s", cs->dlog); } else HiSax_putstatus(cs, "LogEcho: ", "warning Frame too big (%d)", |