* [sj:damon/next 42/42] mm/damon/sysfs-schemes.c:1869:15: warning: no previous prototype for 'damos_sysfs_get_quota_score'
@ 2023-11-06 10:55 kernel test robot
2023-11-07 0:07 ` SeongJae Park
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-11-06 10:55 UTC (permalink / raw)
To: SeongJae Park; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
head: b00bae1288606fa36c98bfcb8400938c39c2bf5b
commit: b00bae1288606fa36c98bfcb8400938c39c2bf5b [42/42] mm/damon/sysfs-schemes: implement damos quota goal
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231106/202311061837.b0wFOPEh-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311061837.b0wFOPEh-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/202311061837.b0wFOPEh-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/damon/sysfs-schemes.c:1869:15: warning: no previous prototype for 'damos_sysfs_get_quota_score' [-Wmissing-prototypes]
1869 | unsigned long damos_sysfs_get_quota_score(void *arg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/damos_sysfs_get_quota_score +1869 mm/damon/sysfs-schemes.c
1868
> 1869 unsigned long damos_sysfs_get_quota_score(void *arg)
1870 {
1871 struct damos_sysfs_quota_goal_values *values = arg;
1872
1873 return values->current_value * 10000 / values->target_value;
1874 }
1875
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sj:damon/next 42/42] mm/damon/sysfs-schemes.c:1869:15: warning: no previous prototype for 'damos_sysfs_get_quota_score'
2023-11-06 10:55 [sj:damon/next 42/42] mm/damon/sysfs-schemes.c:1869:15: warning: no previous prototype for 'damos_sysfs_get_quota_score' kernel test robot
@ 2023-11-07 0:07 ` SeongJae Park
0 siblings, 0 replies; 2+ messages in thread
From: SeongJae Park @ 2023-11-07 0:07 UTC (permalink / raw)
To: kernel test robot; +Cc: SeongJae Park, oe-kbuild-all
Hello,
On Mon, 6 Nov 2023 18:55:34 +0800 kernel test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
> head: b00bae1288606fa36c98bfcb8400938c39c2bf5b
> commit: b00bae1288606fa36c98bfcb8400938c39c2bf5b [42/42] mm/damon/sysfs-schemes: implement damos quota goal
> config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231106/202311061837.b0wFOPEh-lkp@intel.com/config)
> compiler: alpha-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311061837.b0wFOPEh-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/202311061837.b0wFOPEh-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> >> mm/damon/sysfs-schemes.c:1869:15: warning: no previous prototype for 'damos_sysfs_get_quota_score' [-Wmissing-prototypes]
> 1869 | unsigned long damos_sysfs_get_quota_score(void *arg)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you for this nice report! The function is for only internal use, so I
will mark it as 'static'.
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-07 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 10:55 [sj:damon/next 42/42] mm/damon/sysfs-schemes.c:1869:15: warning: no previous prototype for 'damos_sysfs_get_quota_score' kernel test robot
2023-11-07 0:07 ` SeongJae Park
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.