Hi Daniel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on driver-core/driver-core-testing pm/linux-next v5.10-rc6 next-20201130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Daniel-Scally/Add-functionality-to-ipu3-cio2-driver-allowing-software_node-connections-to-sensors-on-platforms-designed-for-Windows/20201130-214014 base: git://linuxtv.org/media_tree.git master config: powerpc-randconfig-r031-20201130 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project dfcf1acf13226be0f599a7ab6b395b66dc9545d6) 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 # install powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://github.com/0day-ci/linux/commit/7c7577c82672f0a0775ac1ad85358e2dc17b2c91 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Daniel-Scally/Add-functionality-to-ipu3-cio2-driver-allowing-software_node-connections-to-sensors-on-platforms-designed-for-Windows/20201130-214014 git checkout 7c7577c82672f0a0775ac1ad85358e2dc17b2c91 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/base/swnode.c:785:20: warning: variable 'i' is uninitialized when used here [-Wuninitialized] while (node_group[i]->name) ^ drivers/base/swnode.c:780:16: note: initialize the variable 'i' to silence this warning unsigned int i; ^ = 0 1 warning generated. vim +/i +785 drivers/base/swnode.c 771 772 /** 773 * software_node_unregister_node_group - Unregister a group of software nodes 774 * @node_group: NULL terminated array of software node pointers to be unregistered 775 * 776 * Unregister multiple software nodes at once. 777 */ 778 void software_node_unregister_node_group(const struct software_node **node_group) 779 { 780 unsigned int i; 781 782 if (!node_group) 783 return; 784 > 785 while (node_group[i]->name) 786 i++; 787 788 while (i--) 789 software_node_unregister(node_group[i]); 790 } 791 EXPORT_SYMBOL_GPL(software_node_unregister_node_group); 792 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip