All of lore.kernel.org
 help / color / mirror / Atom feed
* [mmind-rockchip:dev/panthor 36/41] drivers/gpu/drm/panthor/panthor_device.c:120:13: warning: 'panthor_device_is_initialized' defined but not used
@ 2023-11-10 18:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-10 18:37 UTC (permalink / raw)
  To: Boris Brezillon; +Cc: oe-kbuild-all, Heiko Stuebner, Steven Price

Hi Boris,

First bad commit (maybe != root cause):

tree:   https://github.com/mmind/linux-rockchip dev/panthor
head:   ef8d76d568fba69012333ce6e9d7cce4aebbb2da
commit: 86d43fb902f5db2a81e432041864dd7523314c70 [36/41] drm/panthor: Allow driver compilation
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231111/202311110227.OabsvFN5-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231111/202311110227.OabsvFN5-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311110227.OabsvFN5-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/panthor/panthor_device.c: In function 'panthor_mmio_vm_fault':
   drivers/gpu/drm/panthor/panthor_device.c:307:31: error: implicit declaration of function 'virt_to_pfn'; did you mean 'virt_to_phys'? [-Werror=implicit-function-declaration]
     307 |                         pfn = virt_to_pfn(ptdev->pm.dummy_latest_flush);
         |                               ^~~~~~~~~~~
         |                               virt_to_phys
   drivers/gpu/drm/panthor/panthor_device.c: At top level:
>> drivers/gpu/drm/panthor/panthor_device.c:120:13: warning: 'panthor_device_is_initialized' defined but not used [-Wunused-function]
     120 | static bool panthor_device_is_initialized(struct panthor_device *ptdev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/panthor_device_is_initialized +120 drivers/gpu/drm/panthor/panthor_device.c

0397be1efb94b5 Boris Brezillon 2023-08-09  119  
0397be1efb94b5 Boris Brezillon 2023-08-09 @120  static bool panthor_device_is_initialized(struct panthor_device *ptdev)
0397be1efb94b5 Boris Brezillon 2023-08-09  121  {
0397be1efb94b5 Boris Brezillon 2023-08-09  122  	return !!ptdev->scheduler;
0397be1efb94b5 Boris Brezillon 2023-08-09  123  }
0397be1efb94b5 Boris Brezillon 2023-08-09  124  

:::::: The code at line 120 was first introduced by commit
:::::: 0397be1efb94b59f907d905466bcef6aad6508d9 drm/panthor: Add the device logical block

:::::: TO: Boris Brezillon <boris.brezillon@collabora.com>
:::::: CC: Heiko Stuebner <heiko@sntech.de>

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

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

only message in thread, other threads:[~2023-11-10 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10 18:37 [mmind-rockchip:dev/panthor 36/41] drivers/gpu/drm/panthor/panthor_device.c:120:13: warning: 'panthor_device_is_initialized' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.