diff options
| author | Jens Axboe <[email protected]> | 2014-08-28 15:05:40 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2014-08-29 08:34:14 -0600 |
| commit | 55872c5a3c01f0fe7b5298d19e24e237f5b5ff06 (patch) | |
| tree | e1747d5c4a677f2266388eccf4f03c772a786345 /tools/perf/scripts/python/futex-contention.py | |
| parent | a492f075450f3ba87de36e5ffe92a9d0c7af9723 (diff) | |
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]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions