# git rev-parse -q --verify 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e^{commit} 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e already have revision, skipping fetch # git checkout -q -f -B kisskb 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e # git clean -qxdf # < git log -1 # commit 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e # Author: Stephen Rothwell # Date: Wed Feb 28 15:14:43 2024 +1100 # # Add linux-next specific files for 20240228 # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_se7619_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- se7619_defconfig # < make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_se7619_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_se7619_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_se7619_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/init.c:99:29: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes] 99 | void __attribute__ ((weak)) l2_cache_init(void) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/cache-sh2.c:85:13: warning: no previous prototype for 'sh2_cache_init' [-Wmissing-prototypes] 85 | void __init sh2_cache_init(void) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/mm/swap.c:41: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/mm/folio-compat.c:11: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:76:13: warning: no previous prototype for 'kmap_coherent_init' [-Wmissing-prototypes] 76 | void __init kmap_coherent_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:80:7: warning: no previous prototype for 'kmap_coherent' [-Wmissing-prototypes] 80 | void *kmap_coherent(struct page *page, unsigned long addr) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:86:6: warning: no previous prototype for 'kunmap_coherent' [-Wmissing-prototypes] 86 | void kunmap_coherent(void *kvaddr) | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/swap.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/mm/shrinker.c:8: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/folio-compat.o] Error 1 /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ In file included from /kisskb/src/mm/oom_kill.c:50: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/mm/util.c:29: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' In file included from /kisskb/src/mm/vmscan.c:67: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/mm/vmstat.c:32: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/shrinker.o] Error 1 /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' In file included from /kisskb/src/mm/truncate.c:24: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page In file included from /kisskb/src/mm/readahead.c:132: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/mm/filemap.c:51: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/util.o] Error 1 In file included from /kisskb/src/mm/backing-dev.c:19: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/vmstat.o] Error 1 /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ In file included from /kisskb/src/mm/fadvise.c:24: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/oom_kill.o] Error 1 /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ cc1: some warnings being treated as errors /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/truncate.o] Error 1 /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/readahead.o] Error 1 In file included from /kisskb/src/mm/page-writeback.c:43: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/backing-dev.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/fadvise.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/vmscan.o] Error 1 /kisskb/src/mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/arch/sh/kernel/return_address.c:49:7: warning: no previous prototype for 'return_address' [-Wmissing-prototypes] 49 | void *return_address(unsigned int depth) | ^~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/filemap.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/page-writeback.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sh/kernel/sys_sh.c:58:16: warning: no previous prototype for 'sys_cacheflush' [-Wmissing-prototypes] 58 | asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/traps_32.c:735:6: warning: no previous prototype for 'per_cpu_trap_init' [-Wmissing-prototypes] 735 | void per_cpu_trap_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/hw_breakpoint.c:135:5: warning: no previous prototype for 'arch_bp_generic_fields' [-Wmissing-prototypes] 135 | int arch_bp_generic_fields(int sh_len, int sh_type, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/vsprintf.c:50: /kisskb/src/lib/../mm/internal.h: In function 'folio_pte_batch': /kisskb/src/lib/../mm/internal.h:144:14: error: implicit declaration of function 'pte_batch_hint' [-Werror=implicit-function-declaration] 144 | nr = pte_batch_hint(start_ptep, pte); | ^~~~~~~~~~~~~~ /kisskb/src/lib/../mm/internal.h:145:50: error: implicit declaration of function 'pte_advance_pfn' [-Werror=implicit-function-declaration] 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~ /kisskb/src/lib/../mm/internal.h:145:50: error: incompatible type for argument 1 of '__pte_batch_clear_ignored' 145 | expected_pte = __pte_batch_clear_ignored(pte_advance_pfn(pte, nr), flags); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /kisskb/src/lib/../mm/internal.h:95:53: note: expected 'pte_t' but argument is of type 'int' 95 | static inline pte_t __pte_batch_clear_ignored(pte_t pte, fpb_t flags) | ~~~~~~^~~ /kisskb/src/lib/../mm/internal.h:149:23: error: implicit declaration of function 'ptep_get' [-Werror=implicit-function-declaration] 149 | pte = ptep_get(ptep); | ^~~~~~~~ /kisskb/src/lib/../mm/internal.h:149:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/lib/../mm/internal.h:154:22: error: implicit declaration of function 'pte_same'; did you mean 'pte_page'? [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ | pte_page /kisskb/src/lib/../mm/internal.h:169:32: error: incompatible types when assigning to type 'pte_t' from type 'int' 169 | expected_pte = pte_advance_pfn(expected_pte, nr); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: lib/vsprintf.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: lib] Error 2 make[2]: *** [/kisskb/src/Makefile:1919: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_se7619_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linux-next_se7619_defconfig_sh4-gcc13 # Build took: 0:00:24.490088