Re: [PATCH] scsi: hisi_sas: fix a warning reported by sparse

From: Martin K. Petersen
Date: Mon Dec 18 2017 - 22:41:53 EST



chenxiang,

> The type of function pci_choose_state's return value is pci_power_t
> while we define it as a u32. A warning will be reported by sparse. So
> change u32 into pci_power_t.

Applied to 4.16/scsi-queue. Thanks!

--
Martin K. Petersen Oracle Linux Engineering