]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9ea8aa8d5087529210553114b7bc4bf4374ace8f
treef796215d1413b364a83df686076ff5419b94fab8
parentb8324f94202af7dc688576259803a2ef9a98d655
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