[xilinx-xlnx:xlnx_rebase_v5.15_LTS 624/1197] drivers/gpu/drm/xlnx/xlnx_fb.c:339: warning: expecting prototype for xlnx_fbdev_fini(). Prototype was for xlnx_fb_fini() instead

kernel test robot lkp at intel.com
Sun Jun 26 05:16:33 PDT 2022


Hi Hyun,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   1e67f149fb5eb4f5eb4e0d4f69194eac6d2497d7
commit: 2fdd231b360443660a07f7de8fc3125e46b6099c [624/1197] drm: xlnx: Xilinx DRM KMS driver
config: mips-allmodconfig
compiler: mips-linux-gcc (GCC) 11.3.0
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://github.com/Xilinx/linux-xlnx/commit/2fdd231b360443660a07f7de8fc3125e46b6099c
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 2fdd231b360443660a07f7de8fc3125e46b6099c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/xlnx/ drivers/media/platform/xilinx/ drivers/phy/xilinx/ drivers/staging/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/xlnx/xlnx_fb.c:339: warning: expecting prototype for xlnx_fbdev_fini(). Prototype was for xlnx_fb_fini() instead


vim +339 drivers/gpu/drm/xlnx/xlnx_fb.c

   331	
   332	/**
   333	 * xlnx_fbdev_fini - Free the Xilinx framebuffer
   334	 * @fb_helper: drm_fb_helper struct
   335	 *
   336	 * This function is based on drm_fbdev_cma_fini().
   337	 */
   338	void xlnx_fb_fini(struct drm_fb_helper *fb_helper)
 > 339	{
   340		struct xlnx_fbdev *fbdev = to_fbdev(fb_helper);
   341	
   342		drm_fb_helper_unregister_fbi(&fbdev->fb_helper);
   343		if (fbdev->fb_helper.fbdev)
   344			xlnx_fbdev_defio_fini(fbdev->fb_helper.fbdev);
   345	
   346		if (fbdev->fb_helper.fb)
   347			drm_framebuffer_remove(fbdev->fb_helper.fb);
   348	
   349		drm_fb_helper_fini(&fbdev->fb_helper);
   350		kfree(fbdev);
   351	}
   352	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list