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: <165889172881.804.7713790521620814576.b4-ty@oracle.com>
Date:   Tue, 26 Jul 2022 23:15:58 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Justin Stitt <justinstitt@...gle.com>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        nathan@...nel.org, trix@...hat.com, mingzhe.zou@...ystack.cn,
        linux-kernel@...r.kernel.org, mgurtovoy@...dia.com,
        linux-scsi@...r.kernel.org, ndesaulniers@...gle.com,
        target-devel@...r.kernel.org, llvm@...ts.linux.dev,
        michael.christie@...cle.com
Subject: Re: [PATCH v2] target: iscsi: fix clang -Wformat warnings

On Mon, 18 Jul 2022 11:04:21 -0700, Justin Stitt wrote:

> When building with Clang we encounter these warnings:
> | drivers/target/iscsi/iscsi_target_login.c:719:24: error: format
> | specifies type 'unsigned short' but the argument has type 'int'
> | [-Werror,-Wformat] " from node: %s\n", atomic_read(&sess->nconn),
> -
> | drivers/target/iscsi/iscsi_target_login.c:767:12: error: format
> | specifies type 'unsigned short' but the argument has type 'int'
> | [-Werror,-Wformat] " %s\n", atomic_read(&sess->nconn),
> -
> | drivers/target/iscsi/iscsi_target.c:4365:12: error: format specifies
> | type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
> | " %s\n", atomic_read(&sess->nconn)
> 
> [...]

Applied to 5.20/scsi-queue, thanks!

[1/1] target: iscsi: fix clang -Wformat warnings
      https://git.kernel.org/mkp/scsi/c/71b25693b22e

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ