diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-07 01:12:56 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-08 11:56:40 -0800 |
| commit | 62765d39553cfd1ad340124fe1e280450e8c89e2 (patch) | |
| tree | c94b7c77cecc7e0300a9a5bb0f26fc717e609b00 /drivers/message/fusion/lsi/mpi_raid.h | |
| parent | 143c253f42bad20357e7e4432087aca747c43384 (diff) | |
net: wan: fix error return code of uhdlc_init()
When priv->rx_skbuff or priv->tx_skbuff is NULL, no error return code of
uhdlc_init() is assigned.
To fix this bug, ret is assigned with -ENOMEM in these cases.
Reported-by: TOTE Robot <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions