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] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq14jzdq01g.fsf@ca-mkp.ca.oracle.com>
Date:   Mon, 18 Jul 2022 23:00:38 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Justin Stitt <justinstitt@...gle.com>
Cc:     linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
        llvm@...ts.linux.dev, martin.petersen@...cle.com,
        mgurtovoy@...dia.com, michael.christie@...cle.com,
        mingzhe.zou@...ystack.cn, nathan@...nel.org,
        ndesaulniers@...gle.com, target-devel@...r.kernel.org,
        trix@...hat.com
Subject: Re: [PATCH v2] target: iscsi: fix clang -Wformat warnings


Justin,

> For all warnings, the format specifier is `%hu` which describes an
> unsigned short. The resulting type of atomic_read is an int. The
> proposed fix is to listen to Clang and swap the format specifier.

Applied to 5.20/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ