# git rev-parse -q --verify 787af64d05cd528aac9ad16752d11bb1c6061bb9^{commit} 787af64d05cd528aac9ad16752d11bb1c6061bb9 already have revision, skipping fetch # git checkout -q -f -B kisskb 787af64d05cd528aac9ad16752d11bb1c6061bb9 # git clean -qxdf # < git log -1 # commit 787af64d05cd528aac9ad16752d11bb1c6061bb9 # Author: Zi Yan # Date: Wed Mar 30 15:45:43 2022 -0700 # # mm: page_alloc: validate buddy before check its migratetype. # # Whenever a buddy page is found, page_is_buddy() should be called to # check its validity. Add the missing check during pageblock merge check. # # Fixes: 1dd214b8f21c ("mm: page_alloc: avoid merging non-fallbackable pageblocks with others") # Link: https://lore.kernel.org/all/20220330154208.71aca532@gandalf.local.home/ # Reported-and-tested-by: Steven Rostedt # Signed-off-by: Zi Yan # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 787af64d05cd528aac9ad16752d11bb1c6061bb9 # < make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- /kisskb/src/drivers/misc/habanalabs/common/memory.c: In function 'alloc_device_memory': /kisskb/src/drivers/misc/habanalabs/common/memory.c:153:49: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 153 | (u64) gen_pool_dma_alloc_align(vm->dram_pg_pool, | ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:289: drivers/misc/habanalabs/common/memory.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:551: drivers/misc/habanalabs] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:551: drivers/misc] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1830: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 # Build took: 0:17:10.534840