diff options
author | Joe Perches <joe@perches.com> | 2010-11-10 21:54:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-17 21:58:22 +0300 |
commit | 9920239c90d5f6dadfb44325abf3568a5e3fd827 (patch) | |
tree | 5508c2643cc7cb3164c169539fbbab810de63bf9 /drivers/isdn/hisax/callc.c | |
parent | 1f1aaf82825865a50cef0b4722607abb12aeee52 (diff) | |
download | linux-9920239c90d5f6dadfb44325abf3568a5e3fd827.tar.xz |
drivers/isdn/hisax: Add printf format/argument verification and fix fallout
Add __attribute__((format... to several functins
Make formats and arguments match.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/callc.c')
-rw-r--r-- | drivers/isdn/hisax/callc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c index f150330b5a23..37e685eafd24 100644 --- a/drivers/isdn/hisax/callc.c +++ b/drivers/isdn/hisax/callc.c @@ -65,7 +65,7 @@ hisax_findcard(int driverid) return (struct IsdnCardState *) 0; } -static void +static __attribute__((format(printf, 3, 4))) void link_debug(struct Channel *chanp, int direction, char *fmt, ...) { va_list args; @@ -1068,7 +1068,7 @@ init_d_st(struct Channel *chanp) return 0; } -static void +static __attribute__((format(printf, 2, 3))) void callc_debug(struct FsmInst *fi, char *fmt, ...) { va_list args; |