From: Greg KH <gregkh@linuxfoundation.org>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: Hans de Goede <hdegoede@redhat.com>,
Sasha Levin <sashal@kernel.org>,
"llvm@lists.linux.dev" <llvm@lists.linux.dev>,
"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
"# 3.4.x" <stable@vger.kernel.org>,
"Lopez, Jorge A (Security)" <jorge.lopez2@hp.com>
Subject: Re: [linux-stable-rc:queue/5.15 105/106] drivers/platform/x86/hp/hp-wmi.c:342:24: warning: cast to smaller integer type 'enum hp_wmi_radio' from 'void *'
Date: Fri, 26 May 2023 17:41:30 +0100 [thread overview]
Message-ID: <2023052620-unrefined-strobe-da13@gregkh> (raw)
In-Reply-To: <CAKwvOdnjXD4K6284znWQ7FdshZFYdqNUTN4U79h1pA+xPJ6vCA@mail.gmail.com>
On Tue, May 23, 2023 at 11:55:54AM -0700, Nick Desaulniers wrote:
> On Tue, May 23, 2023 at 11:31 AM Lopez, Jorge A (Security)
> <jorge.lopez2@hp.com> wrote:
> >
> > I investigate the compile failure and appears the latest patch reverted the code to an older version.
> > The latest code shows the proper implementation and compiling the code does not report any failures.
> >
> > enum hp_wmi_radio r = (long)data;
> >
> > instead of
> >
> > enum hp_wmi_radio r = (enum hp_wmi_radio) data;
>
> Looks like
> commit ce95010ef62d ("platform/x86: hp-wmi: Fix cast to smaller
> integer type warning")
>
> is the fixup necessary for 5.15.y.
>
> Dear stable kernel maintainers, please consider cherry-picking the
> above commit to linux-5.15.y to avoid the new compiler diagnostic
> introduced by
> commit 6e9b8992b122 ("platform/x86: Move existing HP drivers to a new
> hp subdir")
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2023-05-26 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-20 21:30 [linux-stable-rc:queue/5.15 105/106] drivers/platform/x86/hp/hp-wmi.c:342:24: warning: cast to smaller integer type 'enum hp_wmi_radio' from 'void *' kernel test robot
2023-05-23 18:31 ` Lopez, Jorge A (Security)
2023-05-23 18:55 ` Nick Desaulniers
2023-05-26 16:41 ` Greg KH [this message]
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=2023052620-unrefined-strobe-da13@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=jorge.lopez2@hp.com \
--cc=llvm@lists.linux.dev \
--cc=ndesaulniers@google.com \
--cc=oe-kbuild-all@lists.linux.dev \
--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