Re: [PATCH v2] scsi: core: Improve type safety of scsi_rescan_device()

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

 



Bart,

> Most callers of scsi_rescan_device() have the scsi_device pointer
> readily available. Pass a struct scsi_device pointer to
> scsi_rescan_device() instead of a struct device pointer. This change
> prevents that a pointer to another struct device would be passed
> accidentally to scsi_rescan_device().
>
> Remove the scsi_rescan_device() declaration from the scsi_priv.h
> header file since it duplicates the declaration in <scsi/scsi_host.h>.

Applied to 6.6/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[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