* [anolis-intel-cloud:devel-6.6 3/3] mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_0'
@ 2025-11-01 11:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-01 11:17 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head: 02259332e0e29b30ceaaeed8ebc2f06afcc07a50
commit: 81be03af48c826a24b8088f8d4705153c556d0d2 [3/3] anolis: mm: introduce per module slab for oot memory isolation
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20251101/202511011928.Fl2xIpqv-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251101/202511011928.Fl2xIpqv-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/202511011928.Fl2xIpqv-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_0' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1220:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1220 | DEFINE_OOT_FUNC___kmalloc_node(0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_1' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1221:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1221 | DEFINE_OOT_FUNC___kmalloc_node(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_2' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1222:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1222 | DEFINE_OOT_FUNC___kmalloc_node(2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_3' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1223:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1223 | DEFINE_OOT_FUNC___kmalloc_node(3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_4' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1224:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1224 | DEFINE_OOT_FUNC___kmalloc_node(4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_5' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1225:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1225 | DEFINE_OOT_FUNC___kmalloc_node(5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_6' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1226:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1226 | DEFINE_OOT_FUNC___kmalloc_node(6);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_7' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1227:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1227 | DEFINE_OOT_FUNC___kmalloc_node(7);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_8' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1228:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1228 | DEFINE_OOT_FUNC___kmalloc_node(8);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_9' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1229:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1229 | DEFINE_OOT_FUNC___kmalloc_node(9);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_10' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1230:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1230 | DEFINE_OOT_FUNC___kmalloc_node(10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_11' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1231:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1231 | DEFINE_OOT_FUNC___kmalloc_node(11);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_12' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1232:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1232 | DEFINE_OOT_FUNC___kmalloc_node(12);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_13' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1233:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1233 | DEFINE_OOT_FUNC___kmalloc_node(13);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_14' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1234:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1234 | DEFINE_OOT_FUNC___kmalloc_node(14);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_15' [-Wmissing-prototypes]
1214 | void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
| ^~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1235:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc_node'
1235 | DEFINE_OOT_FUNC___kmalloc_node(15);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_0' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1250:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1250 | DEFINE_OOT_FUNC___kmalloc(0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_1' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1251:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1251 | DEFINE_OOT_FUNC___kmalloc(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_2' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1252:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1252 | DEFINE_OOT_FUNC___kmalloc(2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_3' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1253:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1253 | DEFINE_OOT_FUNC___kmalloc(3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_4' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1254:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1254 | DEFINE_OOT_FUNC___kmalloc(4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_5' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1255:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1255 | DEFINE_OOT_FUNC___kmalloc(5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_6' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1256:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1256 | DEFINE_OOT_FUNC___kmalloc(6);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_7' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1257:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1257 | DEFINE_OOT_FUNC___kmalloc(7);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_8' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1258:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1258 | DEFINE_OOT_FUNC___kmalloc(8);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_9' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1259:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1259 | DEFINE_OOT_FUNC___kmalloc(9);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_10' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1260:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1260 | DEFINE_OOT_FUNC___kmalloc(10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_11' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1261:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1261 | DEFINE_OOT_FUNC___kmalloc(11);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_12' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1262:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1262 | DEFINE_OOT_FUNC___kmalloc(12);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_13' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1263:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1263 | DEFINE_OOT_FUNC___kmalloc(13);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_14' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1264:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1264 | DEFINE_OOT_FUNC___kmalloc(14);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c:1244:7: warning: no previous prototype for 'oot___kmalloc_15' [-Wmissing-prototypes]
1244 | void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
| ^~~~~~~~~~~~~~
mm/slab_common.c:1265:1: note: in expansion of macro 'DEFINE_OOT_FUNC___kmalloc'
1265 | DEFINE_OOT_FUNC___kmalloc(15);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/oot___kmalloc_node_0 +1214 mm/slab_common.c
1212
1213 #define DEFINE_OOT_FUNC___kmalloc_node(index) \
> 1214 void *oot___kmalloc_node_ ## index(size_t size, gfp_t flags, int node) \
1215 { \
1216 return oot__do_kmalloc_node(index, size, flags, node, _RET_IP_);; \
1217 } \
1218 EXPORT_SYMBOL(oot___kmalloc_node_ ## index)
1219
> 1220 DEFINE_OOT_FUNC___kmalloc_node(0);
> 1221 DEFINE_OOT_FUNC___kmalloc_node(1);
> 1222 DEFINE_OOT_FUNC___kmalloc_node(2);
> 1223 DEFINE_OOT_FUNC___kmalloc_node(3);
> 1224 DEFINE_OOT_FUNC___kmalloc_node(4);
> 1225 DEFINE_OOT_FUNC___kmalloc_node(5);
> 1226 DEFINE_OOT_FUNC___kmalloc_node(6);
> 1227 DEFINE_OOT_FUNC___kmalloc_node(7);
> 1228 DEFINE_OOT_FUNC___kmalloc_node(8);
> 1229 DEFINE_OOT_FUNC___kmalloc_node(9);
> 1230 DEFINE_OOT_FUNC___kmalloc_node(10);
> 1231 DEFINE_OOT_FUNC___kmalloc_node(11);
> 1232 DEFINE_OOT_FUNC___kmalloc_node(12);
> 1233 DEFINE_OOT_FUNC___kmalloc_node(13);
> 1234 DEFINE_OOT_FUNC___kmalloc_node(14);
> 1235 DEFINE_OOT_FUNC___kmalloc_node(15);
1236
1237 void *__kmalloc(size_t size, gfp_t flags)
1238 {
1239 return __do_kmalloc_node(size, flags, NUMA_NO_NODE, _RET_IP_);
1240 }
1241 EXPORT_SYMBOL(__kmalloc);
1242
1243 #define DEFINE_OOT_FUNC___kmalloc(index) \
> 1244 void *oot___kmalloc_ ## index(size_t size, gfp_t flags) \
1245 { \
1246 return oot__do_kmalloc_node(index, size, flags, NUMA_NO_NODE, _RET_IP_); \
1247 } \
1248 EXPORT_SYMBOL(oot___kmalloc_ ## index)
1249
> 1250 DEFINE_OOT_FUNC___kmalloc(0);
> 1251 DEFINE_OOT_FUNC___kmalloc(1);
> 1252 DEFINE_OOT_FUNC___kmalloc(2);
> 1253 DEFINE_OOT_FUNC___kmalloc(3);
> 1254 DEFINE_OOT_FUNC___kmalloc(4);
> 1255 DEFINE_OOT_FUNC___kmalloc(5);
> 1256 DEFINE_OOT_FUNC___kmalloc(6);
> 1257 DEFINE_OOT_FUNC___kmalloc(7);
> 1258 DEFINE_OOT_FUNC___kmalloc(8);
> 1259 DEFINE_OOT_FUNC___kmalloc(9);
> 1260 DEFINE_OOT_FUNC___kmalloc(10);
> 1261 DEFINE_OOT_FUNC___kmalloc(11);
> 1262 DEFINE_OOT_FUNC___kmalloc(12);
> 1263 DEFINE_OOT_FUNC___kmalloc(13);
1264 DEFINE_OOT_FUNC___kmalloc(14);
1265 DEFINE_OOT_FUNC___kmalloc(15);
1266
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-01 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-01 11:17 [anolis-intel-cloud:devel-6.6 3/3] mm/slab_common.c:1214:7: warning: no previous prototype for 'oot___kmalloc_node_0' kernel test robot
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.