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 1:51 AM, 김경률 wrote:
@@ -10638,6 +10639,7 @@ int ufshcd_init(struct ufs_hba *hba, void __iomem *mmio_base, unsigned int irq)
  			dev_err(hba->dev, "scsi_add_host failed\n");
  			goto out_disable;
  		}
+		hba->scsi_host_added = true;
  	}

Why has no "hba->scsi_host_added = true" assignment been added in
ufshcd_device_init()? Isn't that a bug?

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