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 Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux