The concern is that pages is allocated with kvcalloc, but freed later using kfree. julia ---------- Forwarded message ---------- Date: Sat, 10 Dec 2022 22:02:56 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com, Julia Lawall Subject: [ammarfaizi2-block:akpm/mm/mm-stable 29/237] mm/gup_test.c:257:13-14: WARNING kvmalloc is used to allocate this memory at line 248 BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: Ammar Faizi CC: "GNU/Weeb Mailing List" TO: David Hildenbrand CC: Andrew Morton CC: Linux Memory Management List CC: Yang Li tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-stable head: 3b91010500eba3601e906b0e92cf84fab4d895d1 commit: c77369b437f983a862bb6741814670d4ad38478c [29/237] mm/gup_test: start/stop/read functionality for PIN LONGTERM test :::::: branch date: 11 hours ago :::::: commit date: 5 weeks ago config: arm-randconfig-c44-20221209 compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Julia Lawall cocci warnings: (new ones prefixed by >>) >> mm/gup_test.c:257:13-14: WARNING kvmalloc is used to allocate this memory at line 248 -- 0-DAY CI Kernel Test Service https://01.org/lkp