* [davidhildenbrand:ptval_print 2/2] include/asm-generic/pgtable-nop4d.h:39:16: error: returning 'long unsigned int *' from a function with return type 'int' makes integer from pointer without a cast
@ 2026-07-02 1:09 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-02 1:09 UTC (permalink / raw)
To: David Hildenbrand (Arm); +Cc: oe-kbuild-all, Yeoreum Yun
tree: https://github.com/davidhildenbrand/linux ptval_print
head: dc3342ef64ac75a436edc8bfec8e3826e15f0a91
commit: dc3342ef64ac75a436edc8bfec8e3826e15f0a91 [2/2] mm: optimize pmdp_get() and friends for folded pagetable levels
config: arm-randconfig-002-20260702 (https://download.01.org/0day-ci/archive/20260702/202607020840.w571GSuB-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260702/202607020840.w571GSuB-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/202607020840.w571GSuB-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/asm-generic/pgtable-nopud.h:7,
from arch/arm/include/asm/pgtable.h:13,
from include/linux/pgtable.h:6,
from include/linux/mm.h:31,
from arch/arm/kernel/asm-offsets.c:14:
include/asm-generic/pgtable-nop4d.h:35:21: error: 'pgdp_get' declared as function returning an array
35 | static inline pgd_t pgdp_get(pgd_t *p4dp)
| ^~~~~~~~
include/asm-generic/pgtable-nop4d.h: In function 'pgdp_get':
>> include/asm-generic/pgtable-nop4d.h:39:16: error: returning 'long unsigned int *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion]
39 | return dummy;
| ^~~~~
make[3]: *** [scripts/Makefile.build:184: arch/arm/kernel/asm-offsets.s] Error 1 shuffle=418363714
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1405: prepare0] Error 2 shuffle=418363714
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=418363714
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=418363714
make: Target 'prepare' not remade because of errors.
vim +39 include/asm-generic/pgtable-nop4d.h
34
35 static inline pgd_t pgdp_get(pgd_t *p4dp)
36 {
37 pgd_t dummy = { 0 };
38
> 39 return dummy;
40 }
41 #define pgdp_get pgdp_get
42
--
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:[~2026-07-02 1:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02 1:09 [davidhildenbrand:ptval_print 2/2] include/asm-generic/pgtable-nop4d.h:39:16: error: returning 'long unsigned int *' from a function with return type 'int' makes integer from pointer without a cast 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.