projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a68e6
)
isdn/capi: correct argument types of command_2_index
author
Tilman Schmidt
<tilman@imap.cc>
Wed, 10 Dec 2014 12:41:55 +0000
(13:41 +0100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 10 Dec 2014 20:06:10 +0000
(15:06 -0500)
Utility function command_2_index is always called with arguments of
type u8. Adapt its declaration accordingly.
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capiutil.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/capi/capiutil.c
b/drivers/isdn/capi/capiutil.c
index 36c1b37cea0ac4ba7f4578ae9ae28454dcd75c2e..9846d82eb0975608bc1d0706a311d379dbe7e4eb 100644
(file)
--- a/
drivers/isdn/capi/capiutil.c
+++ b/
drivers/isdn/capi/capiutil.c
@@
-201,7
+201,7
@@
static unsigned char *cpars[] =
#define structTRcpyovl(x, y, l) memmove(y, x, l)
/*-------------------------------------------------------*/
-static unsigned command_2_index(u
nsigned c, unsigned
sc)
+static unsigned command_2_index(u
8 c, u8
sc)
{
if (c & 0x80)
c = 0x9 + (c & 0x0f);