[xilinx-xlnx:xlnx_rebase_v5.15_LTS 624/1129] 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
Sat May 7 11:15:51 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   3076249fc30bf463f8390f89009de928ad3e95ff
commit: 2fdd231b360443660a07f7de8fc3125e46b6099c [624/1129] drm: xlnx: Xilinx DRM KMS driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220508/202205080230.DDGjLjHC-lkp@intel.com/config)
compiler: arceb-elf-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=arc SHELL=/bin/bash drivers/gpu/drm/xlnx/ drivers/media/platform/xilinx/ drivers/net/ethernet/xilinx/ drivers/phy/xilinx/ drivers/staging/

If you fix the issue, kindly add following tag as appropriate
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