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]
Date:   Mon, 03 Apr 2023 21:24:01 +0300
From:   Leon Romanovsky <leon@...nel.org>
To:     dennis.dalessandro@...nelisnetworks.com, jgg@...pe.ca,
        nathan@...nel.org, ndesaulniers@...gle.com,
        Tom Rix <trix@...hat.com>
Cc:     linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
        llvm@...ts.linux.dev
Subject: Re: [PATCH] IB/qib: remove unused cnt variable


On Thu, 30 Mar 2023 19:58:00 -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/infiniband/hw/qib/qib_file_ops.c:487:20: error: variable
>   'cnt' set but not used [-Werror,-Wunused-but-set-variable]
>         u32 tid, ctxttid, cnt, limit, tidcnt;
>                           ^
> drivers/infiniband/hw/qib/qib_file_ops.c:1771:9: error: variable
>   'cnt' set but not used [-Werror,-Wunused-but-set-variable]
>         int i, cnt = 0, maxtid = ctxt_tidbase + dd->rcvtidcnt;
>                ^
> This variable is not used so remove it.
> 
> [...]

Applied, thanks!

[1/1] IB/qib: remove unused cnt variable
      https://git.kernel.org/rdma/rdma/c/e7706c4bbfe88f

Best regards,
-- 
Leon Romanovsky <leon@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ