Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [v3 01/23] drm: color pipeline base work
       [not found] <20250305132608.2379253-2-uma.shankar@intel.com>
@ 2025-03-05 19:29 ` kernel test robot
  2025-03-05 20:55 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-03-05 19:29 UTC (permalink / raw)
  To: Uma Shankar, dri-devel, intel-gfx, intel-xe
  Cc: llvm, oe-kbuild-all, ville.syrjala, harry.wentland,
	pekka.paalanen, sebastian.wick, jadahl, mwen, contact,
	naveen1.kumar, dmitry.baryshkov

Hi Uma,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20250305]
[also build test ERROR 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: x86_64-buildonly-randconfig-002-20250306 (https://download.01.org/0day-ci/archive/20250306/202503060317.IL9ThPki-lkp@intel.com/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/202503060317.IL9ThPki-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/202503060317.IL9ThPki-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/vkms/tests/vkms_color_test.c:7:
   In file included from drivers/gpu/drm/vkms/tests/../vkms_drv.h:10:
   In file included from include/drm/drm_gem.h:42:
   In file included from include/drm/drm_vma_manager.h:27:
   In file included from include/linux/mm.h:2306:
   include/linux/vmstat.h:493:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     493 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     494 |                            item];
         |                            ~~~~
   include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     500 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     501 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   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_"
         |                               ~~~~~~~~~~~ ^ ~~~
   include/linux/vmstat.h:513:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     513 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     514 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/vkms/tests/vkms_color_test.c:13:18: error: expected ';' after top level declarator
      13 | MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING);
         |                  ^
   4 warnings and 1 error generated.


vim +13 drivers/gpu/drm/vkms/tests/vkms_color_test.c

    12	
  > 13	MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING);
    14	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [v3 01/23] drm: color pipeline base work
       [not found] <20250305132608.2379253-2-uma.shankar@intel.com>
  2025-03-05 19:29 ` [v3 01/23] drm: color pipeline base work kernel test robot
@ 2025-03-05 20:55 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-03-05 20:55 UTC (permalink / raw)
  To: Uma Shankar, dri-devel, intel-gfx, intel-xe
  Cc: llvm, oe-kbuild-all, ville.syrjala, harry.wentland,
	pekka.paalanen, sebastian.wick, jadahl, mwen, contact,
	naveen1.kumar, dmitry.baryshkov

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/202503060428.qINtTEJ1-lkp@intel.com/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/202503060428.qINtTEJ1-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/202503060428.qINtTEJ1-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-05 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250305132608.2379253-2-uma.shankar@intel.com>
2025-03-05 19:29 ` [v3 01/23] drm: color pipeline base work kernel test robot
2025-03-05 20:55 ` 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