CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: David Hildenbrand <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Linux Memory Management List <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   ec7f49619d8ee13e108740c82f942cd401b989e9
commit: 3fcebf90209a7f52d384ad7701425aa91be309ab mm/memory_hotplug: improved 
dynamic memory group aware "auto-movable" online policy
date:   8 months ago
:::::: branch date: 5 hours ago
:::::: commit date: 8 months ago
compiler: s390-linux-gcc (GCC) 11.3.0
reproduce (cppcheck warning):
        # apt-get install cppcheck
        git checkout 3fcebf90209a7f52d384ad7701425aa91be309ab
        cppcheck --quiet --enable=style,performance,portability --template=gcc 
FILE

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/base/memory.c:1057:32: warning: Parameter 'excluded' can be declared 
>> with const [constParameter]
             struct memory_group *excluded, void *arg)
                                  ^

vim +/excluded +1057 drivers/base/memory.c

3fcebf90209a7f David Hildenbrand 2021-09-07  1050  
3fcebf90209a7f David Hildenbrand 2021-09-07  1051  /*
3fcebf90209a7f David Hildenbrand 2021-09-07  1052   * This is an internal 
helper only to be used in core memory hotplug code to
3fcebf90209a7f David Hildenbrand 2021-09-07  1053   * walk all dynamic memory 
groups excluding a given memory group, either
3fcebf90209a7f David Hildenbrand 2021-09-07  1054   * belonging to a specific 
node, or belonging to any node.
3fcebf90209a7f David Hildenbrand 2021-09-07  1055   */
3fcebf90209a7f David Hildenbrand 2021-09-07  1056  int 
walk_dynamic_memory_groups(int nid, walk_memory_groups_func_t func,
3fcebf90209a7f David Hildenbrand 2021-09-07 @1057                              
struct memory_group *excluded, void *arg)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to