CC: kbuild-...@lists.01.org
BCC: l...@intel.com
CC: linux-ker...@vger.kernel.org
TO: David Hildenbrand <da...@redhat.com>
CC: Andrew Morton <a...@linux-foundation.org>
CC: Linux Memory Management List <linux...@kvack.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   6f34f8c3d6178527d4c02aa3a53c370cc70cb91e
commit: 3fcebf90209a7f52d384ad7701425aa91be309ab mm/memory_hotplug: improved 
dynamic memory group aware "auto-movable" online policy
date:   7 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 7 months ago
compiler: s390-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>


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)
                                  ^
--
>> drivers/bus/mhi/core/pm.c:748:4: warning: Uninitialized variable: itr->state 
>> [uninitvar]
      TO_DEV_STATE_TRANS_STR(itr->state));
      ^

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 -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to