aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorStanley Chu <[email protected]>2019-09-12 16:35:27 +0800
committerJens Axboe <[email protected]>2019-09-12 07:11:56 -0600
commit8a15b4d7cd872b784f585d38d9240f6ee588381b (patch)
treee4a4960021786eeeae82b0785a39d8551513a116 /scripts/gdb/linux/lists.py
parentf7c4ce890dd23f2d41ad9630263aad6e9720af58 (diff)
block: bypass blk_set_runtime_active for uninitialized q->dev
Some devices may skip blk_pm_runtime_init() and have null pointer in its request_queue->dev. For example, SCSI devices of UFS Well-Known LUNs. Currently the null pointer is checked by the user of blk_set_runtime_active(), i.e., scsi_dev_type_resume(). It is better to check it by blk_set_runtime_active() itself instead of by its users. Signed-off-by: Stanley Chu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions