2023-07-24 04:41:13

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the scsi-mkp tree

Hi all,

After merging the scsi-mkp tree, today's linux-next build (arm64
defconfig) produced this warning:

drivers/ufs/host/ufs-qcom.c: In function 'ufs_qcom_mcq_esi_handler':
drivers/ufs/host/ufs-qcom.c:1652:31: warning: unused variable 'host' [-Wunused-variable]
1652 | struct ufs_qcom_host *host = ufshcd_get_variant(hba);
| ^~~~

Introduced by commit

8f2b78652d05 ("scsi: ufs: qcom: Get queue ID from MSI index in ESI handler")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2023-07-26 02:53:47

by Martin K. Petersen

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the scsi-mkp tree


Stephen,

> After merging the scsi-mkp tree, today's linux-next build (arm64
> defconfig) produced this warning:
>
> drivers/ufs/host/ufs-qcom.c: In function 'ufs_qcom_mcq_esi_handler':
> drivers/ufs/host/ufs-qcom.c:1652:31: warning: unused variable 'host' [-Wunused-variable]
> 1652 | struct ufs_qcom_host *host = ufshcd_get_variant(hba);
> | ^~~~
>
> Introduced by commit
>
> 8f2b78652d05 ("scsi: ufs: qcom: Get queue ID from MSI index in ESI handler")

Now fixed up, thanks!

--
Martin K. Petersen Oracle Linux Engineering