# git rev-parse -q --verify 0273c06da01145a77654742c12dd4ea92ca67982^{commit} 0273c06da01145a77654742c12dd4ea92ca67982 already have revision, skipping fetch # git checkout -q -f -B kisskb 0273c06da01145a77654742c12dd4ea92ca67982 # git clean -qxdf # < git log -1 # commit 0273c06da01145a77654742c12dd4ea92ca67982 # Author: Christophe Leroy # Date: Thu Aug 13 06:45:40 2020 +0000 # # powerpc: Remove get_tb_or_rtc() # # 601 is gone, get_tb_or_rtc() is equivalent to get_tb(). # # Replace the former by the later. # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 0273c06da01145a77654742c12dd4ea92ca67982 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- wii_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:20:0: /kisskb/src/arch/powerpc/mm/book3s32/mmu.c: In function 'block_size': /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:38: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:860:48: note: in definition of macro '__is_constexpr' (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8))) ^ /kisskb/src/include/linux/kernel.h:866:25: note: in expansion of macro '__no_side_effects' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:38: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:868:27: note: in definition of macro '__cmp' #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:38: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:868:40: note: in definition of macro '__cmp' #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:38: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:871:10: note: in definition of macro '__cmp_once' typeof(x) unique_x = (x); \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:38: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ /kisskb/src/include/linux/kernel.h:852:29: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:871:25: note: in definition of macro '__cmp_once' typeof(x) unique_x = (x); \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:23: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/include/linux/kernel.h:866:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:876:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:885:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/include/linux/kernel.h:900:38: note: in expansion of macro 'min' #define min3(x, y, z) min((typeof(x))min(x, y), z) ^ /kisskb/src/arch/powerpc/mm/book3s32/mmu.c:102:9: note: in expansion of macro 'min3' return min3(SZ_256M, 1U << base_shift, 1U << block_shift); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/powerpc/mm/book3s32/mmu.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/mm/book3s32] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/kernel/time.c: In function '__delay': /kisskb/src/arch/powerpc/kernel/time.c:450:6: error: unused variable 'diff' [-Werror=unused-variable] int diff; ^ /kisskb/src/arch/powerpc/kernel/time.c: At top level: /kisskb/src/arch/powerpc/kernel/time.c:79:27: error: 'clocksource_rtc' defined but not used [-Werror=unused-variable] static struct clocksource clocksource_rtc = { ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/powerpc/kernel/time.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1785: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 # Build took: 0:00:51.156020