diff options
author | Ming Lei <[email protected]> | 2021-09-06 17:01:12 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-09-13 22:15:44 -0400 |
commit | 265dfe8ebbabae7959060bd1c3f75c2473b697ed (patch) | |
tree | 262bd64cc929b45002ca6a9ac9c898169d66067a /scripts/gdb/linux/utils.py | |
parent | e4953a93104c1fb1ef7989541f9867cc276467f9 (diff) |
scsi: sd: Free scsi_disk device via put_device()
After a device is initialized via device_initialize() it should be freed
via put_device(). sd_probe() currently gets this wrong, fix it up.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions