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

From: Stephen Rothwell <[email-masked]>
Date: Wed, 27 Sep 2017 13:27:08 +1000

Hi James,

On Tue, 26 Sep 2017 14:09:47 +1000 Stephen Rothwell <[email-masked]> 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