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  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:   Thu, 19 Nov 2020 22:31:43 -0500
From:   "Martin K. Petersen" <>
To:     Nick Desaulniers <>,
        "James E . J . Bottomley" <>
Cc:     "Martin K . Petersen" <>,,
        Nathan Chancellor <>,,
Subject: Re: [PATCH] scsi: core: fix -Wformat

On Sat, 7 Nov 2020 00:11:32 -0800, Nick Desaulniers wrote:

> Clang is more aggressive about -Wformat warnings when the format flag
> specifies a type smaller than the parameter. Turns out, struct
> Scsi_Host's member can_queue is actually an int. Fixes:
> [-Wformat]
> shost_rd_attr(can_queue, "%hd\n");
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                           %d

Applied to 5.11/scsi-queue, thanks!

[1/1] scsi: core: Fix -Wformat for scsi_host

Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists