linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2022-06-26 12:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-26 12:16 UTC (permalink / raw)
  To: Hyun Kwon; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

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@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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-26 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-26 12:16 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).