diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-12-15 11:51:30 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-16 16:29:05 -0800 |
commit | c5dea815834c7d2e9fc633785455bc428b7a1956 (patch) | |
tree | 2c08e289a64bad2408aac3b508e1599785161ec6 /drivers/net/phy | |
parent | fore200e: Fix incorrect checks of NULL pointer dereference (diff) | |
download | linux-dev-c5dea815834c7d2e9fc633785455bc428b7a1956.tar.xz linux-dev-c5dea815834c7d2e9fc633785455bc428b7a1956.zip |
net: caif: replace BUG_ON with recovery code
In caif_xmit, there is a crash if the ptr dev is NULL. However, by
returning the error to the callers, the error can be handled. The
patch fixes this issue.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions