diff options
| author | 2015-01-02 14:25:27 +0000 | |
|---|---|---|
| committer | 2015-01-02 10:32:02 -0700 | |
| commit | 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 (patch) | |
| tree | f16c4c7a3148a3ca9c7c149ea6de66fd4423e7c8 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | block: wake up waiters when a queue is marked dying (diff) | |
| download | wireguard-linux-35b489d32fcc37e8735f41aa794b24cf9d1e74f5.tar.xz wireguard-linux-35b489d32fcc37e8735f41aa794b24cf9d1e74f5.zip | |
block: fix checking return value of blk_mq_init_queue
Check IS_ERR_OR_NULL(return value) instead of just return value.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Reduced to IS_ERR() by me, we never return NULL.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
