[akpm-mm:mm-unstable 56/239] drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: error: unused function 'rcar_cmm_read'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   2563d17c641922648007b2abfe3406e2a9a7faf8
commit: d39928f4ecbaf71fa2249fa75473f0349910d21c [56/239] mm/vmstat: fix a W=1 clang compiler warning
config: powerpc-randconfig-002-20241216 (https://download.01.org/0day-ci/archive/20241216/202412160831.5xPilPXv-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 2dc22615fd46ab2566d0f26d5ba234ab12dc4bf8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412160831.5xPilPXv-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412160831.5xPilPXv-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: error: unused function 'rcar_cmm_read' [-Werror,-Wunused-function]
      35 | static inline int rcar_cmm_read(struct rcar_cmm *rcmm, u32 reg)
         |                   ^~~~~~~~~~~~~
   1 error generated.


vim +/rcar_cmm_read +35 drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c

e08e934d6c289ed drivers/gpu/drm/rcar-du/rcar_cmm.c Jacopo Mondi 2019-10-17  34  
e08e934d6c289ed drivers/gpu/drm/rcar-du/rcar_cmm.c Jacopo Mondi 2019-10-17 @35  static inline int rcar_cmm_read(struct rcar_cmm *rcmm, u32 reg)
e08e934d6c289ed drivers/gpu/drm/rcar-du/rcar_cmm.c Jacopo Mondi 2019-10-17  36  {
e08e934d6c289ed drivers/gpu/drm/rcar-du/rcar_cmm.c Jacopo Mondi 2019-10-17  37  	return ioread32(rcmm->base + reg);
e08e934d6c289ed drivers/gpu/drm/rcar-du/rcar_cmm.c Jacopo Mondi 2019-10-17  38  }
e08e934d6c289ed drivers/gpu/drm/rcar-du/rcar_cmm.c Jacopo Mondi 2019-10-17  39  

:::::: The code at line 35 was first introduced by commit
:::::: e08e934d6c289ed0d6bc222271f69dc35fb2caa5 drm: rcar-du: Add support for CMM

:::::: TO: Jacopo Mondi <jacopo+renesas@xxxxxxxxxx>
:::::: CC: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux