From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4737493912616700121==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [intel-lts:5.10/yocto 10624/20393] drivers/media/mc/mc-device.c:602:17: sparse: sparse: incorrect type in initializer (different base types) Date: Fri, 11 Feb 2022 04:16:30 +0800 Message-ID: <202202110434.q4y5puUd-lkp@intel.com> List-Id: --===============4737493912616700121== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/intel/linux-intel-lts.git 5.10/yocto head: 2dafc777a64181d42982628c7f5907a03da5f070 commit: 9ca13cf0ba63b1a0d0701e6e1c97138b1879e0e7 [10624/20393] media: Add p= oll support config: sparc64-randconfig-s032-20220208 (https://download.01.org/0day-ci/a= rchive/20220211/202202110434.q4y5puUd-lkp(a)intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/intel/linux-intel-lts/commit/9ca13cf0ba63b1a0d= 0701e6e1c97138b1879e0e7 git remote add intel-lts https://github.com/intel/linux-intel-lts.g= it git fetch --no-tags intel-lts 5.10/yocto git checkout 9ca13cf0ba63b1a0d0701e6e1c97138b1879e0e7 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3Dbuild_dir ARCH=3Ds= parc64 SHELL=3D/bin/bash drivers/media/mc/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/media/mc/mc-device.c:602:17: sparse: sparse: incorrect type in i= nitializer (different base types) @@ expected restricted __poll_t ( *po= ll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/media/mc/mc-device.c:602:17: sparse: expected restricted __p= oll_t ( *poll )( ... ) drivers/media/mc/mc-device.c:602:17: sparse: got unsigned int ( * )(= ... ) vim +602 drivers/media/mc/mc-device.c 597 = 598 static const struct media_file_operations media_device_fops =3D { 599 .owner =3D THIS_MODULE, 600 .open =3D media_device_open, 601 .ioctl =3D media_device_ioctl, > 602 .poll =3D media_device_poll, 603 #ifdef CONFIG_COMPAT 604 .compat_ioctl =3D media_device_compat_ioctl, 605 #endif /* CONFIG_COMPAT */ 606 .release =3D media_device_close, 607 }; 608 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4737493912616700121==--