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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161007949339.9892.18140869017043061616.b4-ty@oracle.com>
Date:   Thu,  7 Jan 2021 23:19:37 -0500
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Lukas Bulwahn <lukas.bulwahn@...il.com>,
        linux-block@...r.kernel.org, Jens Axboe <axboe@...nel.dk>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org,
        linux-scsi@...r.kernel.org,
        Nathan Chancellor <natechancellor@...il.com>,
        clang-built-linux@...glegroups.com, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2] scsi: sd: remove obsolete variable in sd_remove()

On Mon, 14 Dec 2020 10:54:24 +0100, Lukas Bulwahn wrote:

> Commit 140ea3bbf39a ("sd: use __register_blkdev to avoid a modprobe for an
> unregistered dev_t") removed blk_register_region(devt, ...) in sd_remove()
> and since then, devt is unused in sd_remove().
> 
> Hence, make W=1 warns:
> 
>   drivers/scsi/sd.c:3516:8:
>       warning: variable 'devt' set but not used [-Wunused-but-set-variable]
> 
> [...]

Applied to 5.11/scsi-fixes, thanks!

[1/1] scsi: sd: remove obsolete variable in sd_remove()
      https://git.kernel.org/mkp/scsi/c/be2553358cd4

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ