* Re: [PATCH 7/7] [DISCUSSION] drm/gem: Add cgroup memory accounting
[not found] <20241023075302.27194-8-maarten.lankhorst@linux.intel.com>
@ 2024-10-24 14:07 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-24 14:07 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: llvm, oe-kbuild-all
Hi Maarten,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-exynos/exynos-drm-next next-20241024]
[cannot apply to tj-cgroup/for-next drm-xe/drm-xe-next akpm-mm/mm-everything drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.12-rc4]
[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/Maarten-Lankhorst/kernel-cgroup-Add-dev-memory-accounting-cgroup/20241023-155504
base: git://anongit.freedesktop.org/drm/drm drm-next
patch link: https://lore.kernel.org/r/20241023075302.27194-8-maarten.lankhorst%40linux.intel.com
patch subject: [PATCH 7/7] [DISCUSSION] drm/gem: Add cgroup memory accounting
config: i386-buildonly-randconfig-002-20241024 (https://download.01.org/0day-ci/archive/20241024/202410242215.yXbniQdG-lkp@intel.com/config)
compiler: clang version 19.1.2 (https://github.com/llvm/llvm-project 7ba7d8e2f7b6445b60679da826210cdde29eaf8b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241024/202410242215.yXbniQdG-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/202410242215.yXbniQdG-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/media/cec/core/cec-adap.c:15:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from drivers/media/cec/core/cec-adap.c:20:
In file included from include/drm/drm_device.h:4:
>> include/linux/cgroup_dev.h:61:12: error: cannot combine with previous 'int' declaration specifier
61 | static int int dev_cgroup_try_charge(struct dev_cgroup_device *cgdev,
| ^
>> include/linux/cgroup_dev.h:65:1: error: expected identifier or '('
65 | {
| ^
1 warning and 2 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for GET_FREE_REGION
Depends on [n]: SPARSEMEM [=n]
Selected by [y]:
- RESOURCE_KUNIT_TEST [=y] && RUNTIME_TESTING_MENU [=y] && KUNIT [=y]
vim +/int +61 include/linux/cgroup_dev.h
487073b1855ef4 Maarten Lankhorst 2024-10-23 60
487073b1855ef4 Maarten Lankhorst 2024-10-23 @61 static int int dev_cgroup_try_charge(struct dev_cgroup_device *cgdev,
487073b1855ef4 Maarten Lankhorst 2024-10-23 62 u32 index, u64 size,
487073b1855ef4 Maarten Lankhorst 2024-10-23 63 struct dev_cgroup_pool_state **ret_pool,
487073b1855ef4 Maarten Lankhorst 2024-10-23 64 struct dev_cgroup_pool_state **ret_limit_pool);
487073b1855ef4 Maarten Lankhorst 2024-10-23 @65 {
487073b1855ef4 Maarten Lankhorst 2024-10-23 66 *ret_pool = NULL;
487073b1855ef4 Maarten Lankhorst 2024-10-23 67
487073b1855ef4 Maarten Lankhorst 2024-10-23 68 if (ret_limit_pool)
487073b1855ef4 Maarten Lankhorst 2024-10-23 69 *ret_limit_pool = NULL;
487073b1855ef4 Maarten Lankhorst 2024-10-23 70
487073b1855ef4 Maarten Lankhorst 2024-10-23 71 return 0;
487073b1855ef4 Maarten Lankhorst 2024-10-23 72 }
487073b1855ef4 Maarten Lankhorst 2024-10-23 73
--
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:[~2024-10-24 14:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20241023075302.27194-8-maarten.lankhorst@linux.intel.com>
2024-10-24 14:07 ` [PATCH 7/7] [DISCUSSION] drm/gem: Add cgroup memory accounting 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