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

Re: [PATCH, v2] ofpathname: Move definition of SYS_PATH from l2of_vs() to l2of_scsi()



On 2/8/21 4:10 PM, John Paul Adrian Glaubitz wrote:
> SYS_PATH, which is required to calculate the plug ID of a SCSI/SATA
> host in l2of_scsi(), is actually never set in this function but in
> l2of_vd() where it is not used at all. Thus, move the definition of
> SYS_PATH from l2of_vd() to l2of_scsi() to fix the calculation of the
> plug ID in l2of_scsi().
> 
> Fixes: 3fb2c44e22 ("ofpathname: Add support for the plug ID of a SCSI/SATA host")
> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
> ---
> v2:
> - improve phrasing in commit message

Applied to powerpc-utils/next branch.

https://github.com/ibm-power-utilities/powerpc-utils/commit/67e974dbb8e4462c69c9c0e3a3b0c3a7219a2d45

Thanks,
Tyrel


Reply to: