diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2018-10-08 03:27:58 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-16 00:03:50 -0600 |
commit | bb22c36cbaaeff351b8a6956d88be98497cc14aa (patch) | |
tree | 39b8e0eec3b499094c79c0e1f4601c1fc104d614 /include/sound | |
parent | f2bd4d096eb4e0074b476452789a3b10a31af162 (diff) | |
download | linux-bb22c36cbaaeff351b8a6956d88be98497cc14aa.tar.bz2 |
RDMA/bnxt_re: Prevent driver crash due to NULL pointer in error message print
crsqe->resp would be NULL in case the host command timed out before
getting a response from HW. Check for NULL pointer to avoid a potential
crash while printing the error message.
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions