Content-Type: multipart/mixed; boundary="===============2968769535589796634==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 10/37] drm/imx/dcss: Use drm_module_platform_driver() to register the driver Date: Fri, 17 Dec 2021 23:58:28 +0800 Message-ID: <202112172338.SdP9K7tX-lkp@intel.com> In-Reply-To: <20211217003752.3946210-11-javierm@redhat.com> List-Id: --===============2968769535589796634== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Javier, I love your patch! Yet something to improve: [auto build test ERROR on next-20211215] [also build test ERROR on v5.16-rc5] [cannot apply to drm/drm-next shawnguo/for-next pinchartl-media/drm/du/next= drm-exynos/exynos-drm-next v5.16-rc5 v5.16-rc4 v5.16-rc3] [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/Javier-Martinez-Canillas/d= rm-Make-drivers-to-honour-the-nomodeset-parameter/20211217-084031 base: 93bf6eee76c0e716f6b32de690b1c52991547bb4 config: arm64-randconfig-r034-20211216 (https://download.01.org/0day-ci/arc= hive/20211217/202112172338.SdP9K7tX-lkp(a)intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/c7b8e02dcec35660bbc9101ae= 0c1db11e5f7d1ab git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Javier-Martinez-Canillas/drm-Make-= drivers-to-honour-the-nomodeset-parameter/20211217-084031 git checkout c7b8e02dcec35660bbc9101ae0c1db11e5f7d1ab # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darm64 SHELL=3D/bin/bash drivers/gpu/drm/imx/dcss/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): >> drivers/gpu/drm/imx/dcss/dcss-drv.c:134:1: warning: data definition has = no type or storage class 134 | drm_module_platform_driver(dcss_platform_driver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/imx/dcss/dcss-drv.c:134:1: error: type defaults to 'int'= in declaration of 'drm_module_platform_driver' [-Werror=3Dimplicit-int] >> drivers/gpu/drm/imx/dcss/dcss-drv.c:134:1: warning: parameter names (wit= hout types) in function declaration drivers/gpu/drm/imx/dcss/dcss-drv.c:124:31: warning: 'dcss_platform_driv= er' defined but not used [-Wunused-variable] 124 | static struct platform_driver dcss_platform_driver =3D { | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +134 drivers/gpu/drm/imx/dcss/dcss-drv.c 133 = > 134 drm_module_platform_driver(dcss_platform_driver); 135 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2968769535589796634==--