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