DAMON development mailing list
 help / color / mirror / Atom feed
* Re: [sj:damon/next 62/72] mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 'sysfs_schemes' not described in 'damos_sysfs_populate_region_dir'
       [not found] <202412020702.S7FyZSzV-lkp@intel.com>
@ 2024-12-02 19:01 ` SeongJae Park
  0 siblings, 0 replies; only message in thread
From: SeongJae Park @ 2024-12-02 19:01 UTC (permalink / raw)
  To: kernel test robot; +Cc: SeongJae Park, oe-kbuild-all, damon

On Mon, 2 Dec 2024 07:55:43 +0800 kernel test robot <lkp@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
> head:   b75cfd5260e9e512e1075267a70283e53e661357
> commit: 2385753a6db33141791a25d611e6e5b63a9ddc4d [62/72] mm/damon/sysfs: use damos_walk() for schemes tried regions update
> config: x86_64-buildonly-randconfig-003-20241202 (https://download.01.org/0day-ci/archive/20241202/202412020702.S7FyZSzV-lkp@intel.com/config)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241202/202412020702.S7FyZSzV-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/202412020702.S7FyZSzV-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
> >> mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 'sysfs_schemes' not described in 'damos_sysfs_populate_region_dir'
> >> mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 'ctx' not described in 'damos_sysfs_populate_region_dir'
> >> mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 't' not described in 'damos_sysfs_populate_region_dir'
> >> mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 'r' not described in 'damos_sysfs_populate_region_dir'
> >> mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 's' not described in 'damos_sysfs_populate_region_dir'
> >> mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 'total_bytes_only' not described in 'damos_sysfs_populate_region_dir'
> 
> 
> vim +2199 mm/damon/sysfs-schemes.c
> 
>   2190	
>   2191	/**
>   2192	 * damos_sysfs_populate_region_dir() - Populate a schemes tried region dir.
>   2193	 *
>   2194	 * Called from DAMOS walk callback while holding damon_sysfs_lock.
>   2195	 */
>   2196	void damos_sysfs_populate_region_dir(struct damon_sysfs_schemes *sysfs_schemes,
>   2197			struct damon_ctx *ctx, struct damon_target *t,
>   2198			struct damon_region *r, struct damos *s, bool total_bytes_only)
> > 2199	{

Thank you for reporting!  I just pushed the fix:
https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git/commit/?h=damon/next&id=04df30e0d8b2a8cd60873ebaf029414a6bcc4643


Thanks,
SJ

[...]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-02 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <202412020702.S7FyZSzV-lkp@intel.com>
2024-12-02 19:01 ` [sj:damon/next 62/72] mm/damon/sysfs-schemes.c:2199: warning: Function parameter or struct member 'sysfs_schemes' not described in 'damos_sysfs_populate_region_dir' SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox