# git rev-parse -q --verify 6b3944e42e2e554aa5a4be681ecd70dccd459114^{commit} 6b3944e42e2e554aa5a4be681ecd70dccd459114 already have revision, skipping fetch # git checkout -q -f -B kisskb 6b3944e42e2e554aa5a4be681ecd70dccd459114 # git clean -qxdf # < git log -1 # commit 6b3944e42e2e554aa5a4be681ecd70dccd459114 # Author: David Howells # Date: Thu Oct 11 22:45:49 2018 +0100 # # afs: Fix cell proc list # # Access to the list of cells by /proc/net/afs/cells has a couple of # problems: # # (1) It should be checking against SEQ_START_TOKEN for the keying the # header line. # # (2) It's only holding the RCU read lock, so it can't just walk over the # list without following the proper RCU methods. # # Fix these by using an hlist instead of an ordinary list and using the # appropriate accessor functions to follow it with RCU. # # Since the code that adds a cell to the list must also necessarily change, # sort the list on insertion whilst we're at it. # # Fixes: 989782dcdc91 ("afs: Overhaul cell database management") # Signed-off-by: David Howells # Signed-off-by: Greg Kroah-Hartman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 6b3944e42e2e554aa5a4be681ecd70dccd459114 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0xA21AFFE8 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/mm/tlb-radix.c:669:0: warning: "radix__flush_all_mm" redefined [enabled by default] /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:44:0: note: this is the location of the previous definition /kisskb/src/arch/powerpc/mm/tlb-radix.c: In function '__radix__flush_tlb_range': /kisskb/src/arch/powerpc/mm/tlb-radix.c:712:5: error: implicit declaration of function 'exit_flush_lazy_tlbs' [-Werror=implicit-function-declaration] /kisskb/src/arch/powerpc/mm/tlb-radix.c: In function 'radix__tlb_flush': /kisskb/src/arch/powerpc/mm/tlb-radix.c:873:3: error: implicit declaration of function '__flush_all_mm' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/mm/tlb-radix.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1052: arch/powerpc/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/kernel/watchdog.c: In function 'watchdog_smp_panic': /kisskb/src/arch/powerpc/kernel/watchdog.c:175:4: error: implicit declaration of function 'smp_send_nmi_ipi' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:306: arch/powerpc/kernel/watchdog.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:67:0: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:20:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:26:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] make[1]: *** [/kisskb/src/Makefile:1052: arch/powerpc/kernel] Error 2 /kisskb/src/kernel/sched/core.c: In function 'update_rq_clock_task': /kisskb/src/kernel/sched/core.c:139:6: warning: unused variable 'steal' [-Wunused-variable] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:185:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc # Build took: 0:00:14.098359