From: Paolo Bonzini <pbonzini@redhat.com>
To: Nathan Chancellor <nathan@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sasha Levin <sashal@kernel.org>
Cc: stable@vger.kernel.org, llvm@lists.linux.dev,
Nick Desaulniers <ndesaulniers@google.com>
Subject: Re: Please apply 3d5e7a28b1ea2d603dea478e58e37ce75b9597ab to 5.15, 5.14, and 5.10
Date: Fri, 5 Nov 2021 09:44:05 +0100 [thread overview]
Message-ID: <c3757fc0-09fa-b0f1-7165-795e0363058d@redhat.com> (raw)
In-Reply-To: <YYQjyo/dKfDb/no3@archlinux-ax161>
On 11/4/21 19:17, Nathan Chancellor wrote:
> Hi Greg and Sasha,
>
> Please apply commit 3d5e7a28b1ea ("KVM: x86: avoid warning with
> -Wbitwise-instead-of-logical") to 5.10, 5.14, and 5.15, where it
> resolves a build error with tip of tree clang due to -Werror:
>
> arch/x86/kvm/mmu/mmu.c:3548:15: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
> reserved |= __is_bad_mt_xwr(rsvd_check, sptes[level - 1]) |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ||
> arch/x86/kvm/mmu/mmu.c:3548:15: note: cast one or both operands to int to silence this warning
> 1 error generated.
>
> It applies cleanly to 5.14 and 5.15 and I have attached a backport for
> 5.10. I have added Paolo in case he has any objections to this.
No problem.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Paolo
next prev parent reply other threads:[~2021-11-05 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 18:17 Please apply 3d5e7a28b1ea2d603dea478e58e37ce75b9597ab to 5.15, 5.14, and 5.10 Nathan Chancellor
2021-11-05 8:44 ` Paolo Bonzini [this message]
2021-11-08 6:57 ` Greg Kroah-Hartman
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=c3757fc0-09fa-b0f1-7165-795e0363058d@redhat.com \
--to=pbonzini@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/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