aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/isar.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-10 13:54:58 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-17 13:58:22 -0500
commit9920239c90d5f6dadfb44325abf3568a5e3fd827 (patch)
tree5508c2643cc7cb3164c169539fbbab810de63bf9 /drivers/isdn/hisax/isar.c
parent1f1aaf82825865a50cef0b4722607abb12aeee52 (diff)
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/isar.c')
-rw-r--r--drivers/isdn/hisax/isar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/isar.c b/drivers/isdn/hisax/isar.c
index 2e72227bd071..1be4552d94b4 100644
--- a/drivers/isdn/hisax/isar.c
+++ b/drivers/isdn/hisax/isar.c
@@ -953,7 +953,7 @@ isar_pump_statev_modem(struct BCState *bcs, u_char devt) {
953 break; 953 break;
954 case PSEV_GSTN_CLR: 954 case PSEV_GSTN_CLR:
955 if (cs->debug & L1_DEB_HSCX) 955 if (cs->debug & L1_DEB_HSCX)
956 debugl1(cs, "pump stev GSTN CLEAR", devt); 956 debugl1(cs, "pump stev GSTN CLEAR");
957 break; 957 break;
958 default: 958 default:
959 if (cs->debug & L1_DEB_HSCX) 959 if (cs->debug & L1_DEB_HSCX)
@@ -1268,7 +1268,7 @@ isar_int_main(struct IsdnCardState *cs)
1268static void 1268static void
1269ftimer_handler(struct BCState *bcs) { 1269ftimer_handler(struct BCState *bcs) {
1270 if (bcs->cs->debug) 1270 if (bcs->cs->debug)
1271 debugl1(bcs->cs, "ftimer flags %04x", 1271 debugl1(bcs->cs, "ftimer flags %04lx",
1272 bcs->Flag); 1272 bcs->Flag);
1273 test_and_clear_bit(BC_FLG_FTI_RUN, &bcs->Flag); 1273 test_and_clear_bit(BC_FLG_FTI_RUN, &bcs->Flag);
1274 if (test_and_clear_bit(BC_FLG_LL_CONN, &bcs->Flag)) { 1274 if (test_and_clear_bit(BC_FLG_LL_CONN, &bcs->Flag)) {
@@ -1748,7 +1748,7 @@ isar_auxcmd(struct IsdnCardState *cs, isdn_ctrl *ic) {
1748 struct BCState *bcs; 1748 struct BCState *bcs;
1749 1749
1750 if (cs->debug & L1_DEB_HSCX) 1750 if (cs->debug & L1_DEB_HSCX)
1751 debugl1(cs, "isar_auxcmd cmd/ch %x/%d", ic->command, ic->arg); 1751 debugl1(cs, "isar_auxcmd cmd/ch %x/%ld", ic->command, ic->arg);
1752 switch (ic->command) { 1752 switch (ic->command) {
1753 case (ISDN_CMD_FAXCMD): 1753 case (ISDN_CMD_FAXCMD):
1754 bcs = cs->channel[ic->arg].bcs; 1754 bcs = cs->channel[ic->arg].bcs;