* Tony Lindgren <tony@xxxxxxxxxxx> [230815 08:39]: > * kernel test robot <lkp@xxxxxxxxx> [230814 23:20]: > > Hi Tony, > > > > First bad commit (maybe != root cause): > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git omap-for-v6.6/ti-sysc > > head: 40a4f49cd32dbc641c706215c1fa6c5bd051428c > > commit: 063dc0622705623b3a70739b9f33d5ea019882e6 [3/5] bus: ti-sysc: Build driver for TI K3 SoCs > > config: arm64-randconfig-r006-20230815 (https://download.01.org/0day-ci/archive/20230815/202308150723.ziuGCdM3-lkp@xxxxxxxxx/config) > > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) > > reproduce: (https://download.01.org/0day-ci/archive/20230815/202308150723.ziuGCdM3-lkp@xxxxxxxxx/reproduce) > > > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > > the same patch/commit), kindly add following tags > > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202308150723.ziuGCdM3-lkp@xxxxxxxxx/ > > > > All warnings (new ones prefixed by >>): > > > > >> drivers/bus/ti-sysc.c:3107:19: warning: cast to smaller integer type 'enum sysc_soc' from 'const void *' [-Wvoid-pointer-to-enum-cast] > > 3107 | sysc_soc->soc = (enum sysc_soc)match->data; > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > > 1 warning generated. > > Thanks seems we need to do (enum sysc_soc)(unsigned long)match->data or just > (unsigned long)match->data. Actually seems (enum sysc_soc)(uintptr_t)match->data is what is used in similar places based on git grep " = (enum " | grep ')('. Regards, Tony