[openeuler:OLK-6.6 2163/2163] drivers/gpu/drm/phytium/phytium_gem.c:169:6: warning: no previous prototype for 'phytium_gem_prime_vunmap'

Hi Li, First bad commit (maybe != root cause): tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: bb46ff9245f25c71ce2d456156bb2fc39c400aad commit: 792b82446538ed840a6e23b89673ce21564702bd [2163/2163] Fix gic support for Phytium S2500 config: arm64-randconfig-004-20250424 (https://download.01.org/0day-ci/archive/20250424/202504240208.n1driNHi-lkp@i...) compiler: aarch64-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250424/202504240208.n1driNHi-lkp@i...) 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/202504240208.n1driNHi-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/phytium/phytium_gem.c:22:5: warning: no previous prototype for 'phytium_memory_pool_alloc' [-Wmissing-prototypes] int phytium_memory_pool_alloc(struct phytium_display_private *priv, void **pvaddr, ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_gem.c:37:6: warning: no previous prototype for 'phytium_memory_pool_free' [-Wmissing-prototypes] void phytium_memory_pool_free(struct phytium_display_private *priv, void *vaddr, uint64_t size) ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_gem.c:160:5: warning: no previous prototype for 'phytium_gem_prime_vmap' [-Wmissing-prototypes] int phytium_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/phytium/phytium_gem.c:169:6: warning: no previous prototype for 'phytium_gem_prime_vunmap' [-Wmissing-prototypes] void phytium_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_gem.c:181:5: warning: no previous prototype for 'phytium_dma_transfer' [-Wmissing-prototypes] int phytium_dma_transfer(struct drm_device *drm_dev, int dev_to_mem, void *addr, ^~~~~~~~~~~~~~~~~~~~
vim +/phytium_gem_prime_vunmap +169 drivers/gpu/drm/phytium/phytium_gem.c b80df10f845813 lishuo 2024-01-31 168 b80df10f845813 lishuo 2024-01-31 @169 void phytium_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) b80df10f845813 lishuo 2024-01-31 170 { b80df10f845813 lishuo 2024-01-31 171 :::::: The code at line 169 was first introduced by commit :::::: b80df10f845813bb4fc2002b5386ecdfa8be5f6c DRM: Phytium display DRM driver :::::: TO: lishuo <lishuo@phytium.com.cn> :::::: CC: lishuo <lishuo@phytium.com.cn> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot