Re: [PATCH] ufs: core: Remove scsi host only if added

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/24 7:18 PM, Kyoungrul Kim wrote:
Yes, scsi_add_host has been moved the async function (ufshcd_device_init)as MCQ patch applied.
So the ufshcd driver attaches the device without knowing whether the probe fails or not.
and if host tries to remove ufshcd driver, it makes kernel panic.
So it became necessary to check whether to add a host or not.

There are two scsi_add_host() calls in the UFS driver and this patch
only adds one "hba->scsi_host_added = true" assignment. Shouldn't this
patch add two such assignments?

Thanks,

Bart.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux