tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0a924817d2ed9396401e0557c6134276d2e26382 commit: 6e9b8992b122cb12688bd259fc99e67d1be234eb platform/x86: Move existing HP drivers to a new hp subdir date: 5 weeks ago config: x86_64-allyesconfig compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6e9b8992b122cb12688bd259fc99e67d1be234eb git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 6e9b8992b122cb12688bd259fc99e67d1be234eb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/platform/x86/hp/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/platform/x86/hp/hp-wmi.c:551:24: warning: cast to smaller integer type 'enum hp_wmi_radio' from 'void *' [-Wvoid-pointer-to-enum-cast] enum hp_wmi_radio r = (enum hp_wmi_radio) data; ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. vim +551 drivers/platform/x86/hp/hp-wmi.c f82bdd0d77b6bf drivers/platform/x86/hp-wmi.c Kyle Evans 2014-06-09 548 19d337dff95cbf drivers/platform/x86/hp-wmi.c Johannes Berg 2009-06-02 549 static int hp_wmi_set_block(void *data, bool blocked) 62ec30d45ecbb8 drivers/misc/hp-wmi.c Matthew Garrett 2008-07-25 550 { e5fbba85a7acc2 drivers/platform/x86/hp-wmi.c Alan Jenkins 2009-07-21 @551 enum hp_wmi_radio r = (enum hp_wmi_radio) data; e5fbba85a7acc2 drivers/platform/x86/hp-wmi.c Alan Jenkins 2009-07-21 552 int query = BIT(r + 8) | ((!blocked) << r); 6d96e00cef3503 drivers/platform/x86/hp-wmi.c Thomas Renninger 2010-05-21 553 int ret; 62ec30d45ecbb8 drivers/misc/hp-wmi.c Matthew Garrett 2008-07-25 554 d8193cff33906e drivers/platform/x86/hp-wmi.c Darren Hart (VMware 2017-04-19 555) ret = hp_wmi_perform_query(HPWMI_WIRELESS_QUERY, HPWMI_WRITE, c3021ea1beeeb1 drivers/platform/x86/hp-wmi.c Anssi Hannula 2011-02-20 556 &query, sizeof(query), 0); 527376c89caf59 drivers/platform/x86/hp-wmi.c Darren Hart (VMware 2017-04-19 557) 527376c89caf59 drivers/platform/x86/hp-wmi.c Darren Hart (VMware 2017-04-19 558) return ret <= 0 ? ret : -EINVAL; 62ec30d45ecbb8 drivers/misc/hp-wmi.c Matthew Garrett 2008-07-25 559 } 62ec30d45ecbb8 drivers/misc/hp-wmi.c Matthew Garrett 2008-07-25 560 :::::: The code at line 551 was first introduced by commit :::::: e5fbba85a7acc2626d4fe14501816811d702f3e9 hp-wmi: improve rfkill support :::::: TO: Alan Jenkins :::::: CC: Len Brown -- 0-DAY CI Kernel Test Service https://01.org/lkp