# 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-11.3.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e # make -s -j 40 ARCH=m68k O=/kisskb/build/linux-next_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- m5272c3_defconfig # < make -s -j 40 ARCH=m68k O=/kisskb/build/linux-next_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 40 ARCH=m68k O=/kisskb/build/linux-next_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 40 ARCH=m68k O=/kisskb/build/linux-next_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/mm/filemap.c:51: /kisskb/src/mm/internal.h: In function '__pte_batch_clear_ignored': /kisskb/src/mm/internal.h:98:23: error: implicit declaration of function 'pte_mkclean'; did you mean 'page_mkclean'? [-Werror=implicit-function-declaration] 98 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ | page_mkclean /kisskb/src/mm/internal.h:98:23: error: incompatible types when assigning to type 'pte_t' from type 'int' In file included from /kisskb/src/mm/oom_kill.c:50: /kisskb/src/mm/internal.h: In function '__pte_batch_clear_ignored': /kisskb/src/mm/internal.h:98:23: error: implicit declaration of function 'pte_mkclean'; did you mean 'page_mkclean'? [-Werror=implicit-function-declaration] 98 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ | page_mkclean /kisskb/src/mm/internal.h:98:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:101:16: error: implicit declaration of function 'pte_wrprotect' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~ /kisskb/src/mm/internal.h:101:30: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~ /kisskb/src/mm/internal.h:101:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:101:16: error: implicit declaration of function 'pte_wrprotect' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~ 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/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/dax.h:5, from /kisskb/src/mm/filemap.c:15: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:140:27: error: implicit declaration of function 'pte_present'; did you mean 'p4d_present'? [-Werror=implicit-function-declaration] 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~ /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/mm/internal.h:140:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:101:30: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~ /kisskb/src/mm/internal.h:101:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:49: error: implicit declaration of function 'pte_pfn' [-Werror=implicit-function-declaration] 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~ /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/mm/internal.h:142:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:26: note: in expansion of macro 'page_folio' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~ /kisskb/src/include/asm-generic/memory_model.h:65:21: note: in expansion of macro '__pfn_to_page' 65 | #define pfn_to_page __pfn_to_page | ^~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:37: note: in expansion of macro 'pfn_to_page' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~ 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/rculist.h:10, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/include/linux/oom.h:6, from /kisskb/src/mm/oom_kill.c:21: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:140:27: error: implicit declaration of function 'pte_present'; did you mean 'p4d_present'? [-Werror=implicit-function-declaration] 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~ /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/mm/internal.h:140:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:49: error: implicit declaration of function 'pte_pfn' [-Werror=implicit-function-declaration] 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~ /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/mm/internal.h:142:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:26: note: in expansion of macro 'page_folio' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~ /kisskb/src/include/asm-generic/memory_model.h:65:21: note: in expansion of macro '__pfn_to_page' 65 | #define pfn_to_page __pfn_to_page | ^~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:37: note: in expansion of macro 'pfn_to_page' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~ In file included from /kisskb/src/mm/filemap.c:51: /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/oom_kill.c:50: /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:151:38: error: implicit declaration of function 'pte_write'; did you mean 'pgd_write'? [-Werror=implicit-function-declaration] 151 | writable = !!pte_write(pte); | ^~~~~~~~~ | pgd_write /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' [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_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: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:151:38: error: implicit declaration of function 'pte_write'; did you mean 'sys_write'? [-Werror=implicit-function-declaration] 151 | writable = !!pte_write(pte); | ^~~~~~~~~ | sys_write /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same' [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_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); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/oom_kill.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/mm/fadvise.c:24: /kisskb/src/mm/internal.h: In function '__pte_batch_clear_ignored': /kisskb/src/mm/internal.h:98:23: error: implicit declaration of function 'pte_mkclean'; did you mean 'page_mkclean'? [-Werror=implicit-function-declaration] 98 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ | page_mkclean /kisskb/src/mm/internal.h:98:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/mm/internal.h:101:16: error: implicit declaration of function 'pte_wrprotect' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~ /kisskb/src/mm/internal.h:101:30: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~ /kisskb/src/mm/internal.h:101:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/mm/fadvise.c:11: /kisskb/src/mm/internal.h: In function 'folio_pte_batch': /kisskb/src/mm/internal.h:140:27: error: implicit declaration of function 'pte_present'; did you mean 'p4d_present'? [-Werror=implicit-function-declaration] 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~ /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/mm/internal.h:140:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:49: error: implicit declaration of function 'pte_pfn' [-Werror=implicit-function-declaration] 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~ /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/mm/internal.h:142:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:26: note: in expansion of macro 'page_folio' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~ /kisskb/src/include/asm-generic/memory_model.h:65:21: note: in expansion of macro '__pfn_to_page' 65 | #define pfn_to_page __pfn_to_page | ^~~~~~~~~~~~~ /kisskb/src/mm/internal.h:142:37: note: in expansion of macro 'pfn_to_page' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/filemap.o] Error 1 In file included from /kisskb/src/mm/fadvise.c:24: /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:151:38: error: implicit declaration of function 'pte_write'; did you mean 'sys_write'? [-Werror=implicit-function-declaration] 151 | writable = !!pte_write(pte); | ^~~~~~~~~ | sys_write /kisskb/src/mm/internal.h:154:22: error: implicit declaration of function 'pte_same' [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_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); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: mm/fadvise.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/tty/serial/mcf.c:473:12: warning: no previous prototype for 'early_mcf_setup' [-Wmissing-prototypes] 473 | int __init early_mcf_setup(struct mcf_platform_uart *platp) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/vsprintf.c:50: /kisskb/src/lib/../mm/internal.h: In function '__pte_batch_clear_ignored': /kisskb/src/lib/../mm/internal.h:98:23: error: implicit declaration of function 'pte_mkclean'; did you mean 'page_mkclean'? [-Werror=implicit-function-declaration] 98 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ | page_mkclean /kisskb/src/lib/../mm/internal.h:98:23: error: incompatible types when assigning to type 'pte_t' from type 'int' /kisskb/src/lib/../mm/internal.h:101:16: error: implicit declaration of function 'pte_wrprotect' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~ /kisskb/src/lib/../mm/internal.h:101:30: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~ /kisskb/src/lib/../mm/internal.h:101:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 101 | return pte_wrprotect(pte_mkold(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/vsprintf.c:21: /kisskb/src/lib/../mm/internal.h: In function 'folio_pte_batch': /kisskb/src/lib/../mm/internal.h:140:27: error: implicit declaration of function 'pte_present'; did you mean 'p4d_present'? [-Werror=implicit-function-declaration] 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~ /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/lib/../mm/internal.h:140:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 140 | VM_WARN_ON_FOLIO(!pte_present(pte), folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/../mm/internal.h:142:49: error: implicit declaration of function 'pte_pfn' [-Werror=implicit-function-declaration] 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~ /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/lib/../mm/internal.h:142:9: note: in expansion of macro 'VM_WARN_ON_FOLIO' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/../mm/internal.h:142:26: note: in expansion of macro 'page_folio' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~ /kisskb/src/include/asm-generic/memory_model.h:65:21: note: in expansion of macro '__pfn_to_page' 65 | #define pfn_to_page __pfn_to_page | ^~~~~~~~~~~~~ /kisskb/src/lib/../mm/internal.h:142:37: note: in expansion of macro 'pfn_to_page' 142 | VM_WARN_ON_FOLIO(page_folio(pfn_to_page(pte_pfn(pte))) != folio, folio); | ^~~~~~~~~~~ In file included from /kisskb/src/lib/vsprintf.c:50: /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:151:38: error: implicit declaration of function 'pte_write'; did you mean 'seq_write'? [-Werror=implicit-function-declaration] 151 | writable = !!pte_write(pte); | ^~~~~~~~~ | seq_write /kisskb/src/lib/../mm/internal.h:154:22: error: implicit declaration of function 'pte_same' [-Werror=implicit-function-declaration] 154 | if (!pte_same(pte, expected_pte)) | ^~~~~~~~ /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 40 ARCH=m68k O=/kisskb/build/linux-next_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linux-next_m5272c3_defconfig_m68k-gcc11 # Build took: 0:00:20.665131