Re: linux-next: build warning after merge of the scsi-mkp tree

From: Stephen Rothwell
Date: Tue Sep 26 2017 - 23:27:15 EST


Hi James,

On Tue, 26 Sep 2017 14:09:47 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the scsi-mkp tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/scsi/hisi_sas/hisi_sas_main.c: In function 'hisi_sas_controller_reset':
> drivers/scsi/hisi_sas/hisi_sas_main.c:1049:24: warning: unused variable 'sas_ha' [-Wunused-variable]
> struct sas_ha_struct *sas_ha = &hisi_hba->sha;
> ^
>
> Introduced by commit
>
> 042ebd293b86 ("scsi: libsas: kill useless ha_event and do some cleanup")

This warning now exists in the scsi tree.
--
Cheers,
Stephen Rothwell