Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: core: fix -Wformat | Date | Thu, 19 Nov 2020 22:31:43 -0500 |
| |
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 https://git.kernel.org/mkp/scsi/c/883928201b00
-- Martin K. Petersen Oracle Linux Engineering
| |