Re: [PATCH] scsi: sd: unregister device if device_add_disk() failed in sd_probe()

From: Bart Van Assche
Date: Mon Apr 01 2024 - 13:51:46 EST


On 3/31/24 18:31, Yu Kuai wrote:
I was shocked that this patch is still there. This patch is easy and
straightforward.

LGTM
Reviewed-by: Yu Kuai <yukuai3@xxxxxxxxxx>

BTW, Nan, it will be better if you have a reporducer for this.
Agreed that a reproducer would help. No information is present in the
patch description about how this issue was detected nor about how it was
tested. That probably would have encouraged reviewers.

Bart.