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)
commit2bf3a09ea51f807d78d48d0ebc591b9e1502a743
tree40c6cdd92de50e053f80d83617ae119d1f7d9338
parent5510ab18048397193ae073d6b0d4ea78ff0170f5
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