diff options
author | Dan Carpenter <[email protected]> | 2018-01-09 23:03:46 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2018-01-10 16:48:09 -0500 |
commit | 57194fa763bfa1a0908f30d4c77835beaa118fcb (patch) | |
tree | 5c5adaa5b07c08e423a32d8d1d1f1f270c16b89a /scripts/documentation-file-ref-check | |
parent | cd52cb26e7ead5093635e98e07e221e4df482d34 (diff) |
IB/hfi1: Prevent a NULL dereference
In the original code, we set "fd->uctxt" to NULL and then dereference it
which will cause an Oops.
Fixes: f2a3bc00a03c ("IB/hfi1: Protect context array set/clear with spinlock")
Cc: <[email protected]> # 4.14.x
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions