]> git.baikalelectronics.ru Git - kernel.git/commit
isdn/capi: handle CAPI 2.0 message parser failures
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:35 +0000 (15:05 -0400)
commita683cba4d24d15e58421767edb617e5fc5b937a5
tree40c6cdd92de50e053f80d83617ae119d1f7d9338
parent7bc6ab8ce2aba51f307bc4a6474f366861d24205
isdn/capi: handle CAPI 2.0 message parser failures

Have callers of capi_cmsg2message and capi_message2cmsg handle
non-zero return values indicating failure.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capidrv.c
drivers/isdn/gigaset/capi.c