mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
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>
This commit is contained in:
parent
2bf3a09ea5
commit
340184b35a
1 changed files with 7 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue