Re: [PATCH 4/4] scsi: ufs: hisi: fix ufs_hba_variant_ops passing

From: Martin K. Petersen
Date: Wed Mar 06 2019 - 12:45:56 EST



Arnd,

> Without CONFIG_OF, the of_match_node() helper does not evaluate
> its argument, and the compiler warns about the unused variable:
>
> drivers/scsi/ufs/ufs-hisi.c: In function 'ufs_hisi_probe':
> drivers/scsi/ufs/ufs-hisi.c:673:17: error: unused variable 'dev' [-Werror=unused-variable]

Applied to 5.1/scsi-queue, thank you!

--
Martin K. Petersen Oracle Linux Engineering