Hi Uma,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20250305]
[also build test WARNING on v6.14-rc5]
[cannot apply to drm-exynos/exynos-drm-next linus/master v6.14-rc5 v6.14-rc4 
v6.14-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Uma-Shankar/drm-color-pipeline-base-work/20250306-011827
base:   next-20250305
patch link:    
https://lore.kernel.org/r/20250305132608.2379253-2-uma.shankar%40intel.com
patch subject: [v3 01/23] drm: color pipeline base work
config: i386-buildonly-randconfig-003-20250306 
(https://download.01.org/0day-ci/archive/20250306/[email protected]/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project 
cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250306/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/drm_colorop.c:30:
   In file included from include/drm/drm_plane.h:33:
   In file included from include/drm/drm_util.h:36:
   In file included from include/linux/kgdb.h:19:
   In file included from include/linux/kprobes.h:28:
   In file included from include/linux/ftrace.h:13:
   In file included from include/linux/kallsyms.h:13:
   In file included from include/linux/mm.h:2306:
   include/linux/vmstat.h:507:36: warning: arithmetic between different 
enumeration types ('enum node_stat_item' and 'enum lru_list') 
[-Wenum-enum-conversion]
     507 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> drivers/gpu/drm/drm_colorop.c:162:6: warning: no previous prototype for 
>> function 'drm_colorop_cleanup' [-Wmissing-prototypes]
     162 | void drm_colorop_cleanup(struct drm_colorop *colorop)
         |      ^
   drivers/gpu/drm/drm_colorop.c:162:1: note: declare 'static' if the function 
is not intended to be used outside of this translation unit
     162 | void drm_colorop_cleanup(struct drm_colorop *colorop)
         | ^
         | static 
   2 warnings generated.


vim +/drm_colorop_cleanup +162 drivers/gpu/drm/drm_colorop.c

   156  
   157  /**
   158   * drm_colorop_cleanup - Cleanup a drm_colorop object in color_pipeline
   159   *
   160   * @colorop: The drm_colorop object to be cleaned
   161   */
 > 162  void drm_colorop_cleanup(struct drm_colorop *colorop)
   163  {
   164          struct drm_device *dev = colorop->dev;
   165          struct drm_mode_config *config = &dev->mode_config;
   166  
   167          list_del(&colorop->head);
   168          config->num_colorop--;
   169  
   170          if (colorop->state && colorop->state->data) {
   171                  drm_property_blob_put(colorop->state->data);
   172                  colorop->state->data = NULL;
   173          }
   174  
   175          kfree(colorop->state);
   176          kfree(colorop);
   177  }
   178  

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

Reply via email to