lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202501311207.5xG7o8Yu-lkp@intel.com>
Date: Fri, 31 Jan 2025 12:27:24 +0800
From: kernel test robot <lkp@...el.com>
To: Maarten Lankhorst <dev@...khorst.se>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Maxime Ripard <mripard@...nel.org>,
	Friedrich Vock <friedrich.vock@....de>
Subject: drivers/gpu/drm/ttm/ttm_bo.c:1097: warning: Function parameter or
 struct member 'hit_low' not described in 'ttm_bo_swapout_walk'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   69e858e0b8b2ea07759e995aa383e8780d9d140c
commit: 2b624a2c18656ea32e0849e7bc0018ba3c97ca64 drm/ttm: Handle cgroup based eviction in TTM
date:   3 weeks ago
config: csky-randconfig-r001-20230826 (https://download.01.org/0day-ci/archive/20250131/202501311207.5xG7o8Yu-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250131/202501311207.5xG7o8Yu-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501311207.5xG7o8Yu-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/ttm/ttm_bo.c:1097: warning: Function parameter or struct member 'hit_low' not described in 'ttm_bo_swapout_walk'
>> drivers/gpu/drm/ttm/ttm_bo.c:1097: warning: Function parameter or struct member 'evict_low' not described in 'ttm_bo_swapout_walk'


vim +1097 drivers/gpu/drm/ttm/ttm_bo.c

a3185f91d0579b Christian König   2022-05-09  1086  
10efe34dae798c Thomas Hellström  2024-07-05  1087  /**
10efe34dae798c Thomas Hellström  2024-07-05  1088   * struct ttm_bo_swapout_walk - Parameters for the swapout walk
10efe34dae798c Thomas Hellström  2024-07-05  1089   */
10efe34dae798c Thomas Hellström  2024-07-05  1090  struct ttm_bo_swapout_walk {
10efe34dae798c Thomas Hellström  2024-07-05  1091  	/** @walk: The walk base parameters. */
10efe34dae798c Thomas Hellström  2024-07-05  1092  	struct ttm_lru_walk walk;
10efe34dae798c Thomas Hellström  2024-07-05  1093  	/** @gfp_flags: The gfp flags to use for ttm_tt_swapout() */
10efe34dae798c Thomas Hellström  2024-07-05  1094  	gfp_t gfp_flags;
2b624a2c18656e Maarten Lankhorst 2024-12-04  1095  
2b624a2c18656e Maarten Lankhorst 2024-12-04  1096  	bool hit_low, evict_low;
10efe34dae798c Thomas Hellström  2024-07-05 @1097  };
10efe34dae798c Thomas Hellström  2024-07-05  1098  

:::::: The code at line 1097 was first introduced by commit
:::::: 10efe34dae798c652053d4363871914c478f1475 drm/ttm: Use the LRU walker helper for swapping

:::::: TO: Thomas Hellström <thomas.hellstrom@...ux.intel.com>
:::::: CC: Christian König <christian.koenig@....com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ