git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a492f07
)
bsg: fix potential error pointer dereference
author
Jens Axboe
<axboe@fb.com>
Thu, 28 Aug 2014 21:05:40 +0000
(15:05 -0600)
committer
Jens Axboe
<axboe@fb.com>
Fri, 29 Aug 2014 14:34:14 +0000
(08:34 -0600)
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 <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bsg.c
patch
|
blob
|
history
diff --cc
block/bsg.c
Simple merge