]> 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)
commit0aecbd1ec7667d06620cb5667ebd7777c5176373
treef796215d1413b364a83df686076ff5419b94fab8
parent4a8665971971a6795a3247ef8d2cd0c3ca42c511
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