summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/hisax.h
diff options
context:
space:
mode:
authorEmese Revfy2016-12-16 22:40:47 +0100
committerDavid S. Miller2016-12-18 03:46:35 +0100
commita6b3c48312f6a2c3905653c0633344f811c1dde5 (patch)
treea4616c29add496a5b5651b43ad03886913c367cb /drivers/isdn/hisax/hisax.h
parentmlxsw: spectrum: Mark split ports as such (diff)
downloadkernel-qcow2-linux-a6b3c48312f6a2c3905653c0633344f811c1dde5.tar.gz
kernel-qcow2-linux-a6b3c48312f6a2c3905653c0633344f811c1dde5.tar.xz
kernel-qcow2-linux-a6b3c48312f6a2c3905653c0633344f811c1dde5.zip
isdn: Constify some function parameters
The coming initify gcc plugin expects const pointer types, and caught some __printf arguments that weren't const yet. This fixes those. Signed-off-by: Emese Revfy <re.emese@gmail.com> [kees: expanded commit message] Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/hisax.h')
-rw-r--r--drivers/isdn/hisax/hisax.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h
index 6ead6314e6d2..338d0408b377 100644
--- a/drivers/isdn/hisax/hisax.h
+++ b/drivers/isdn/hisax/hisax.h
@@ -1288,9 +1288,9 @@ int jiftime(char *s, long mark);
int HiSax_command(isdn_ctrl *ic);
int HiSax_writebuf_skb(int id, int chan, int ack, struct sk_buff *skb);
__printf(3, 4)
-void HiSax_putstatus(struct IsdnCardState *cs, char *head, char *fmt, ...);
+void HiSax_putstatus(struct IsdnCardState *cs, char *head, const char *fmt, ...);
__printf(3, 0)
-void VHiSax_putstatus(struct IsdnCardState *cs, char *head, char *fmt, va_list args);
+void VHiSax_putstatus(struct IsdnCardState *cs, char *head, const char *fmt, va_list args);
void HiSax_reportcard(int cardnr, int sel);
int QuickHex(char *txt, u_char *p, int cnt);
void LogFrame(struct IsdnCardState *cs, u_char *p, int size);