Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bsg: fix potential error pointer dereference
Dan writes: block/bsg.c:327 bsg_map_hdr() error: 'next_rq' dereferencing possible ERR_PTR(). Fix this by setting next_rq to NULL, for the case where it can be != NULL but an error pointer. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information