* [alibaba-cloud:linux-next 6028/9999] mm/huge_memory.c:2854:13: warning: unused variable 'nid'
@ 2023-03-21 16:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-21 16:40 UTC (permalink / raw)
To: alikernel-developer; +Cc: oe-kbuild-all
tree: https://github.com/alibaba/cloud-kernel.git linux-next
head: d121e0c25d1a19485d7f293b67901462bb1a6552
commit: e6ca020bc338ccebde78046d05e232093c57be8a [6028/9999] alinux: mm: thp: move deferred split queue to memcg's nodeinfo
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20230322/202303220038.GSxzsThi-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/alibaba/cloud-kernel/commit/e6ca020bc338ccebde78046d05e232093c57be8a
git remote add alibaba-cloud https://github.com/alibaba/cloud-kernel.git
git fetch --no-tags alibaba-cloud linux-next
git checkout e6ca020bc338ccebde78046d05e232093c57be8a
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303220038.GSxzsThi-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/huge_memory.c:527:15: warning: no previous prototype for '__thp_get_unmapped_area' [-Wmissing-prototypes]
527 | unsigned long __thp_get_unmapped_area(struct file *filp, unsigned long len,
| ^~~~~~~~~~~~~~~~~~~~~~~
mm/huge_memory.c: In function 'split_huge_page_to_list':
mm/huge_memory.c:2662:29: warning: unused variable 'pgdata' [-Wunused-variable]
2662 | struct pglist_data *pgdata = NODE_DATA(page_to_nid(head));
| ^~~~~~
mm/huge_memory.c: In function 'deferred_split_count':
>> mm/huge_memory.c:2854:13: warning: unused variable 'nid' [-Wunused-variable]
2854 | int nid = sc->nid;
| ^~~
mm/huge_memory.c: In function 'deferred_split_scan':
mm/huge_memory.c:2868:13: warning: unused variable 'nid' [-Wunused-variable]
2868 | int nid = sc->nid;
| ^~~
vim +/nid +2854 mm/huge_memory.c
2850
2851 static unsigned long deferred_split_count(struct shrinker *shrink,
2852 struct shrink_control *sc)
2853 {
> 2854 int nid = sc->nid;
2855 struct pglist_data *pgdata = NODE_DATA(nid);
2856 struct deferred_split *ds_queue = &pgdata->deferred_split_queue;
2857
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-21 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 16:40 [alibaba-cloud:linux-next 6028/9999] mm/huge_memory.c:2854:13: warning: unused variable 'nid' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).