Re: [PATCH v2 1/5] scsi: libsas: move sas_get_ata_command_set() up to save the declaration

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

 



On 13/12/2022 15:09, Jason Yan wrote:
There is a sas_get_ata_command_set() declaration above sas_get_ata_info()
to make it compile ok. However this function is defined in the same file
below. So move it up to save the declaration.

nit: forward declaration


Also remove the variable 'fis' which is not needed in this function.

Cc: John Garry<john.g.garry@xxxxxxxxxx>
Signed-off-by: Jason Yan<yanaijie@xxxxxxxxxx>

Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>




[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