* [bytedance:5.15-velinux 0/1] include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void
@ 2025-05-08 18:26 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-05-08 18:26 UTC (permalink / raw)
To: jason.zeng, lin.x.wang, pei.p.jia; +Cc: oe-kbuild-all
tree: https://github.com/bytedance/kernel.git 5.15-velinux
head: de277dab626c9ece4c9cf99ec9c56f23b298a042
commit: ae1584fe66d0d69c4ae034d6afa8abc3c8948614 [0/1] hugetlb: simplify hugetlb handling in follow_page_mask
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20250509/202505090239.IT4hYADS-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090239.IT4hYADS-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/202505090239.IT4hYADS-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/arm64/mm/fault.c:27:
include/linux/hugetlb.h: In function 'hugetlb_follow_page_mask':
>> include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void [-Wreturn-type]
261 | }
| ^
--
In file included from mm/swap.c:36:
include/linux/hugetlb.h: In function 'hugetlb_follow_page_mask':
>> include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void [-Wreturn-type]
261 | }
| ^
In file included from mm/swap.c:40:
include/linux/dma-buf.h: At top level:
include/linux/dma-buf.h:674:13: warning: 'is_dma_buf_pages_file' defined but not used [-Wunused-function]
674 | static bool is_dma_buf_pages_file(struct file *file)
| ^~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/migrate.h:8,
from mm/vmscan.c:43:
include/linux/hugetlb.h: In function 'hugetlb_follow_page_mask':
>> include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void [-Wreturn-type]
261 | }
| ^
mm/vmscan.c: At top level:
mm/vmscan.c:191:38: error: macro "get_total_swap_pages" passed 1 arguments, but takes just 0
191 | inline long get_total_swap_pages(void)
| ^
In file included from mm/vmscan.c:20:
include/linux/swap.h:568:9: note: macro "get_total_swap_pages" defined here
568 | #define get_total_swap_pages() 0L
| ^~~~~~~~~~~~~~~~~~~~
mm/vmscan.c:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
192 | {
| ^
mm/vmscan.c: In function 'demote_page_list':
mm/vmscan.c:778:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
778 | int err;
| ^~~
--
In file included from include/linux/migrate.h:8,
from mm/page_alloc.c:62:
include/linux/hugetlb.h: In function 'hugetlb_follow_page_mask':
>> include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void [-Wreturn-type]
261 | }
| ^
mm/page_alloc.c: At top level:
mm/page_alloc.c:3986:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes]
3986 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +261 include/linux/hugetlb.h
256
257 static inline struct page *hugetlb_follow_page_mask(struct vm_area_struct *vma,
258 unsigned long address, unsigned int flags)
259 {
260 BUILD_BUG(); /* should never be compiled in if !CONFIG_HUGETLB_PAGE*/
> 261 }
262
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [bytedance:5.15-velinux 0/1] include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void
@ 2025-05-26 14:32 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-05-26 14:32 UTC (permalink / raw)
To: jason.zeng, lin.x.wang, pei.p.jia; +Cc: oe-kbuild-all
tree: https://github.com/bytedance/kernel.git 5.15-velinux
head: de277dab626c9ece4c9cf99ec9c56f23b298a042
commit: ae1584fe66d0d69c4ae034d6afa8abc3c8948614 [0/1] hugetlb: simplify hugetlb handling in follow_page_mask
config: x86_64-buildonly-randconfig-2001-20250514 (https://download.01.org/0day-ci/archive/20250526/202505262230.SfyFTC92-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250526/202505262230.SfyFTC92-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/202505262230.SfyFTC92-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/setup.c:21:
include/linux/hugetlb.h: In function 'hugetlb_follow_page_mask':
>> include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void [-Wreturn-type]
261 | }
| ^
vim +261 include/linux/hugetlb.h
256
257 static inline struct page *hugetlb_follow_page_mask(struct vm_area_struct *vma,
258 unsigned long address, unsigned int flags)
259 {
260 BUILD_BUG(); /* should never be compiled in if !CONFIG_HUGETLB_PAGE*/
> 261 }
262
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-29 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 18:26 [bytedance:5.15-velinux 0/1] include/linux/hugetlb.h:261:1: warning: no return statement in function returning non-void kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-05-26 14:32 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.