From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: "James E . J . Bottomley" <jejb@linux.ibm.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Nathan Chancellor <natechancellor@gmail.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
clang-built-linux@googlegroups.com
Subject: Re: [PATCH] scsi: core: fix -Wformat
Date: Mon, 16 Nov 2020 22:34:08 -0500 [thread overview]
Message-ID: <yq1wnyk64id.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20201107081132.2629071-1-ndesaulniers@google.com> (Nick Desaulniers's message of "Sat, 7 Nov 2020 00:11:32 -0800")
Nick,
> 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:
Applied to 5.11/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2020-11-17 3:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-07 8:11 [PATCH] scsi: core: fix -Wformat Nick Desaulniers
2020-11-08 0:59 ` Nathan Chancellor
2020-11-08 21:10 ` Joe Perches
2020-11-17 3:34 ` Martin K. Petersen [this message]
2020-11-20 3:31 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1wnyk64id.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=clang-built-linux@googlegroups.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=natechancellor@gmail.com \
--cc=ndesaulniers@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox