]> git.baikalelectronics.ru Git - kernel.git/commit
isdn/capi: correct capi20_manufacturer argument type mismatch
authorTilman Schmidt <tilman@imap.cc>
Sat, 11 Oct 2014 11:46:30 +0000 (13:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 19:05:34 +0000 (15:05 -0400)
commit4ead74c70193d19d1092956137612dbb1d1aeda6
treef796215d1413b364a83df686076ff5419b94fab8
parent53d3ec3df25441ecd3ad6c5120241f1a9d8668e6
isdn/capi: correct capi20_manufacturer argument type mismatch

Function capi20_manufacturer() is declared with unsigned int cmd
argument but called with unsigned long.
Fix by correcting the function prototype since the actual argument
is part of the user visible API.

Spotted with Coverity.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/kcapi.c
include/linux/kernelcapi.h