lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1mtzg4n3j.fsf@ca-mkp.ca.oracle.com>
Date:   Mon, 16 Nov 2020 23:35:36 -0500
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Lee Jones <lee.jones@...aro.org>
Cc:     martin.petersen@...cle.com, jejb@...ux.ibm.com,
        linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
        Don Brace <don.brace@...rochip.com>,
        Bugfixes to <esc.storagedev@...rosemi.com>,
        storagedev@...rochip.com
Subject: Re: [PATCH v2 19/19] scsi: hpsa: Strip out a bunch of set but
 unused variables


Lee,

> Fixes the following W=1 kernel build warning(s):
>
>  drivers/scsi/hpsa.c: In function ‘hpsa_volume_offline’:
>  drivers/scsi/hpsa.c:3885:5: warning: variable ‘scsi_status’ set but not used [-Wunused-but-set-variable]
>  drivers/scsi/hpsa.c:3884:6: warning: variable ‘cmd_status’ set but not used [-Wunused-but-set-variable]
>  drivers/scsi/hpsa.c: In function ‘hpsa_update_scsi_devices’:
>  drivers/scsi/hpsa.c:4354:9: warning: variable ‘n_ext_target_devs’ set but not used [-Wunused-but-set-variable]
>  drivers/scsi/hpsa.c: In function ‘hpsa_scatter_gather’:
>  drivers/scsi/hpsa.c:4583:36: warning: variable ‘last_sg’ set but not used [-Wunused-but-set-variable]
>  drivers/scsi/hpsa.c: In function ‘hpsa_init_one’:
>  drivers/scsi/hpsa.c:8639:6: warning: variable ‘dac’ set but not used [-Wunused-but-set-variable]
>  drivers/scsi/hpsa.c: In function ‘hpsa_enter_performant_mode’:
>  drivers/scsi/hpsa.c:9300:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]

Applied to 5.11/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ