# git rev-parse -q --verify 42d670bda02fdba0f3944c92f545984501e5788d^{commit} 42d670bda02fdba0f3944c92f545984501e5788d already have revision, skipping fetch # git checkout -q -f -B kisskb 42d670bda02fdba0f3944c92f545984501e5788d # git clean -qxdf # < git log -1 # commit 42d670bda02fdba0f3944c92f545984501e5788d # Author: Mark Brown # Date: Wed Aug 3 01:53:55 2022 +0100 # # Add linux-next specific files for 20220802 # # Signed-off-by: Mark Brown # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 42d670bda02fdba0f3944c92f545984501e5788d # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linux-next_powernv_defconfig+NO_NUMA_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_NUMA=n # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linux-next_powernv_defconfig+NO_NUMA_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/linux-next_powernv_defconfig+NO_NUMA_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/linux-next_powernv_defconfig+NO_NUMA_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/cred.h:16, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched.h:1204:9: error: unknown type name 'nodemask_t' 1204 | nodemask_t mems_allowed; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mmzone.h:1246:41: error: unknown type name 'nodemask_t' 1246 | nodemask_t *nodes); | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mmzone.h:1265:41: error: unknown type name 'nodemask_t' 1265 | nodemask_t *nodes) | ^~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1291:41: error: unknown type name 'nodemask_t' 1291 | nodemask_t *nodes) | ^~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1334:39: error: unknown type name 'nodemask_t' 1334 | static inline bool movable_only_nodes(nodemask_t *nodes) | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/topology.h:36, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/topology.h: In function 'of_drconf_to_nid_single': /kisskb/src/arch/powerpc/include/asm/topology.h:99:16: error: 'first_online_node' undeclared (first use in this function); did you mean 'first_online_pgdat'? 99 | return first_online_node; | ^~~~~~~~~~~~~~~~~ | first_online_pgdat /kisskb/src/arch/powerpc/include/asm/topology.h:99:16: note: each undeclared identifier is reported only once for each function it appears in In file included from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/gfp.h: At top level: /kisskb/src/include/linux/gfp.h:198:17: error: unknown type name 'nodemask_t' 198 | nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/gfp.h:200:17: error: unknown type name 'nodemask_t' 200 | nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/gfp.h:203:33: error: unknown type name 'nodemask_t' 203 | nodemask_t *nodemask, int nr_pages, | ^~~~~~~~~~ /kisskb/src/include/linux/gfp.h: In function 'alloc_pages_bulk_list': /kisskb/src/include/linux/gfp.h:215:16: error: implicit declaration of function '__alloc_pages_bulk'; did you mean 'alloc_pages_bulk_list'? [-Werror=implicit-function-declaration] 215 | return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, list, NULL); | ^~~~~~~~~~~~~~~~~~ | alloc_pages_bulk_list In file included from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/ipc.h:5, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/compat.h:14, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/gfp.h: In function '__alloc_pages_node': /kisskb/src/include/linux/gfp.h:241:52: error: implicit declaration of function 'node_online'; did you mean 'node_zonelist'? [-Werror=implicit-function-declaration] 241 | VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !node_online(nid)); | ^~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:30:63: note: in definition of macro 'BUILD_BUG_ON_INVALID' 30 | #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e)))) | ^ /kisskb/src/include/linux/gfp.h:241:9: note: in expansion of macro 'VM_WARN_ON' 241 | VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !node_online(nid)); | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/gfp.h:243:16: error: implicit declaration of function '__alloc_pages'; did you mean '__add_pages'? [-Werror=implicit-function-declaration] 243 | return __alloc_pages(gfp_mask, order, nid, NULL); | ^~~~~~~~~~~~~ | __add_pages /kisskb/src/include/linux/gfp.h:243:16: warning: returning 'int' from a function with return type 'struct page *' makes pointer from integer without a cast [-Wint-conversion] 243 | return __alloc_pages(gfp_mask, order, nid, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/gfp.h: In function '__folio_alloc_node': /kisskb/src/include/linux/gfp.h:252:16: error: implicit declaration of function '__folio_alloc'; did you mean '__folio_alloc_node'? [-Werror=implicit-function-declaration] 252 | return __folio_alloc(gfp, order, nid, NULL); | ^~~~~~~~~~~~~ | __folio_alloc_node /kisskb/src/include/linux/gfp.h:252:16: warning: returning 'int' from a function with return type 'struct folio *' makes pointer from integer without a cast [-Wint-conversion] 252 | return __folio_alloc(gfp, order, nid, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/gfp.h: At top level: /kisskb/src/include/linux/gfp.h:366:49: error: unknown type name 'nodemask_t' 366 | int nid, nodemask_t *nodemask); | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/seq_file.h: In function 'seq_user_ns': /kisskb/src/include/linux/seq_file.h:226:25: error: invalid use of undefined type 'const struct file' 226 | return seq->file->f_cred->user_ns; | ^~ In file included from /kisskb/src/include/linux/mm.h:703, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/huge_mm.h: In function 'file_thp_enabled': /kisskb/src/include/linux/huge_mm.h:164:29: error: invalid use of undefined type 'struct file' 164 | inode = vma->vm_file->f_inode; | ^~ /kisskb/src/include/linux/huge_mm.h:168:17: error: implicit declaration of function 'inode_is_open_for_write' [-Werror=implicit-function-declaration] 168 | !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/stat.h:7, from /kisskb/src/include/linux/compat.h:12, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/huge_mm.h:168:64: error: invalid use of undefined type 'struct inode' 168 | !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); | ^~ /kisskb/src/include/uapi/linux/stat.h:22:28: note: in definition of macro 'S_ISREG' 22 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) | ^ In file included from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mm.h: At top level: /kisskb/src/include/linux/mm.h:1772:49: error: unknown type name 'nodemask_t' 1772 | extern void show_free_areas(unsigned int flags, nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h: In function 'get_num_physpages': /kisskb/src/include/linux/mm.h:2461:9: error: implicit declaration of function 'for_each_online_node'; did you mean 'for_each_online_pgdat'? [-Werror=implicit-function-declaration] 2461 | for_each_online_node(nid) | ^~~~~~~~~~~~~~~~~~~~ | for_each_online_pgdat /kisskb/src/include/linux/mm.h:2461:34: error: expected ';' before 'phys_pages' 2461 | for_each_online_node(nid) | ^ | ; 2462 | phys_pages += node_present_pages(nid); | ~~~~~~~~~~ /kisskb/src/include/linux/mm.h: At top level: /kisskb/src/include/linux/mm.h:2512:42: error: unknown type name 'nodemask_t' 2512 | extern void show_mem(unsigned int flags, nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h:2521:33: error: unknown type name 'nodemask_t' 2521 | void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...); | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h: In function 'vma_is_special_huge': /kisskb/src/include/linux/mm.h:3273:16: error: implicit declaration of function 'vma_is_dax' [-Werror=implicit-function-declaration] 3273 | return vma_is_dax(vma) || (vma->vm_file && | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h: In function 'seal_check_future_write': /kisskb/src/include/linux/mm.h:3349:21: error: 'F_SEAL_FUTURE_WRITE' undeclared (first use in this function) 3349 | if (seals & F_SEAL_FUTURE_WRITE) { | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h: At top level: /kisskb/src/include/linux/fs.h:2983:20: error: conflicting types for 'inode_is_open_for_write'; have 'bool(const struct inode *)' {aka '_Bool(const struct inode *)'} 2983 | static inline bool inode_is_open_for_write(const struct inode *inode) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/mm.h:703, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/huge_mm.h:168:17: note: previous implicit declaration of 'inode_is_open_for_write' with type 'int()' 168 | !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:3371:20: error: conflicting types for 'vma_is_dax'; have 'bool(const struct vm_area_struct *)' {aka '_Bool(const struct vm_area_struct *)'} 3371 | static inline bool vma_is_dax(const struct vm_area_struct *vma) | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mm.h:3273:16: note: previous implicit declaration of 'vma_is_dax' with type 'int()' 3273 | return vma_is_dax(vma) || (vma->vm_file && | ^~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:118: arch/powerpc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1283: prepare0] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 40 ARCH=powerpc O=/kisskb/build/linux-next_powernv_defconfig+NO_NUMA_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_powernv_defconfig+NO_NUMA_powerpc-gcc11 # Build took: 0:00:14.056170