# git rev-parse -q --verify 83bdc7275e6206f560d247be856bceba3e1ed8f2^{commit} 83bdc7275e6206f560d247be856bceba3e1ed8f2 already have revision, skipping fetch # git checkout -q -f -B kisskb 83bdc7275e6206f560d247be856bceba3e1ed8f2 # git clean -qxdf # < git log -1 # commit 83bdc7275e6206f560d247be856bceba3e1ed8f2 # Author: Linus Torvalds # Date: Wed Jul 29 19:11:00 2020 -0700 # # random32: remove net_rand_state from the latent entropy gcc plugin # # It turns out that the plugin right now ends up being really unhappy # about the change from 'static' to 'extern' storage that happened in # commit f227e3ec3b5c ("random32: update the net random state on interrupt # and activity"). # # This is probably a trivial fix for the latent_entropy plugin, but for # now, just remove net_rand_state from the list of things the plugin # worries about. # # Reported-by: Stephen Rothwell # Cc: Emese Revfy # Cc: Kees Cook # Cc: Willy Tarreau # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 83bdc7275e6206f560d247be856bceba3e1ed8f2 # < make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig KCONFIG_SEED=0xD7E1EC72 # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/qcom/ipq6018.dtsi:127.3-14: Warning (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/qcom/ipq6018.dtsi:127.3-14: Warning (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) /kisskb/src/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) In file included from /kisskb/src/arch/arm64/include/asm/smp.h:33, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/percpu.h:7, from /kisskb/src/include/linux/random.h:14, from /kisskb/src/arch/arm64/kernel/pointer_auth.c:5: /kisskb/src/arch/arm64/include/asm/pointer_auth.h: In function 'ptrauth_keys_init_user': /kisskb/src/arch/arm64/include/asm/pointer_auth.h:40:3: error: implicit declaration of function 'get_random_bytes'; did you mean 'get_random_once'? [-Werror=implicit-function-declaration] get_random_bytes(&keys->apia, sizeof(keys->apia)); ^~~~~~~~~~~~~~~~ get_random_once In file included from /kisskb/src/arch/arm64/kernel/pointer_auth.c:5: /kisskb/src/include/linux/random.h: At top level: /kisskb/src/include/linux/random.h:41:13: warning: conflicting types for 'get_random_bytes' extern void get_random_bytes(void *buf, int nbytes); ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/smp.h:33, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/percpu.h:7, from /kisskb/src/include/linux/random.h:14, from /kisskb/src/arch/arm64/kernel/pointer_auth.c:5: /kisskb/src/arch/arm64/include/asm/pointer_auth.h:40:3: note: previous implicit declaration of 'get_random_bytes' was here get_random_bytes(&keys->apia, sizeof(keys->apia)); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:281: arch/arm64/kernel/pointer_auth.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:497: arch/arm64/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1756: arch/arm64] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/arm64/include/asm/smp.h:33, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/percpu.h:7, from /kisskb/src/include/linux/random.h:14, from /kisskb/src/fs/crypto/policy.c:13: /kisskb/src/arch/arm64/include/asm/pointer_auth.h: In function 'ptrauth_keys_init_user': /kisskb/src/arch/arm64/include/asm/pointer_auth.h:40:3: error: implicit declaration of function 'get_random_bytes'; did you mean 'get_random_once'? [-Werror=implicit-function-declaration] get_random_bytes(&keys->apia, sizeof(keys->apia)); ^~~~~~~~~~~~~~~~ get_random_once In file included from /kisskb/src/fs/crypto/policy.c:13: /kisskb/src/include/linux/random.h: At top level: /kisskb/src/include/linux/random.h:41:13: warning: conflicting types for 'get_random_bytes' extern void get_random_bytes(void *buf, int nbytes); ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/smp.h:33, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/percpu.h:7, from /kisskb/src/include/linux/random.h:14, from /kisskb/src/fs/crypto/policy.c:13: /kisskb/src/arch/arm64/include/asm/pointer_auth.h:40:3: note: previous implicit declaration of 'get_random_bytes' was here get_random_bytes(&keys->apia, sizeof(keys->apia)); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:280: fs/crypto/policy.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:497: fs/crypto] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1756: fs] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 # Build took: 0:00:58.109223