diff options
author | Tilman Schmidt <tilman@imap.cc> | 2014-10-11 13:46:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-14 15:05:35 -0400 |
commit | 340184b35ac8786bdb574d2c8ce8e4f1269ec4da (patch) | |
tree | 476198dccf63ead3c26d49ce496c429e24d4a0bf /drivers/isdn/sc | |
parent | 2bf3a09ea51f807d78d48d0ebc591b9e1502a743 (diff) | |
download | linux-340184b35ac8786bdb574d2c8ce8e4f1269ec4da.tar.gz linux-340184b35ac8786bdb574d2c8ce8e4f1269ec4da.tar.bz2 linux-340184b35ac8786bdb574d2c8ce8e4f1269ec4da.zip |
isdn/capi: don't return NULL from capi_cmd2str()
capi_cmd2str() is used in many places to build log messages.
None of them is prepared to handle NULL as a result.
Change the function to return printable string "INVALID_COMMAND"
instead.
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/sc')
0 files changed, 0 insertions, 0 deletions