# git rev-parse -q --verify 7773544e4027aa905e7f75752e3db619b473bd5c^{commit} 7773544e4027aa905e7f75752e3db619b473bd5c already have revision, skipping fetch # git checkout -q -f -B kisskb 7773544e4027aa905e7f75752e3db619b473bd5c # git clean -qxdf # < git log -1 # commit 7773544e4027aa905e7f75752e3db619b473bd5c # Author: Jason Wang # Date: Mon Dec 20 11:02:43 2021 +0800 # # powerpc/kvm: no need to initialise statics to 0 # # Static variables do not need to be initialised to 0, because compiler # will initialise all uninitialised statics to 0. Thus, remove the # unneeded initialization. # # Signed-off-by: Jason Wang # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20211220030243.603435-1-wangborong@cdjrlc.com # < /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 7773544e4027aa905e7f75752e3db619b473bd5c # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc7448_hpc2_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_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/powerpc-next_mpc7448_hpc2_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/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c: In function 'tsi108_get_mac': /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1099:20: error: assignment of read-only location '*dev->dev_addr' dev->dev_addr[0] = 0x00; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1100:20: error: assignment of read-only location '*(dev->dev_addr + 1u)' dev->dev_addr[1] = 0x06; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1101:20: error: assignment of read-only location '*(dev->dev_addr + 2u)' dev->dev_addr[2] = 0xd2; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1102:20: error: assignment of read-only location '*(dev->dev_addr + 3u)' dev->dev_addr[3] = 0x00; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1103:20: error: assignment of read-only location '*(dev->dev_addr + 4u)' dev->dev_addr[4] = 0x00; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1105:21: error: assignment of read-only location '*(dev->dev_addr + 5u)' dev->dev_addr[5] = 0x01; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1107:21: error: assignment of read-only location '*(dev->dev_addr + 5u)' dev->dev_addr[5] = 0x02; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1117:20: error: assignment of read-only location '*dev->dev_addr' dev->dev_addr[0] = (word2 >> 16) & 0xff; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1118:20: error: assignment of read-only location '*(dev->dev_addr + 1u)' dev->dev_addr[1] = (word2 >> 24) & 0xff; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1119:20: error: assignment of read-only location '*(dev->dev_addr + 2u)' dev->dev_addr[2] = (word1 >> 0) & 0xff; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1120:20: error: assignment of read-only location '*(dev->dev_addr + 3u)' dev->dev_addr[3] = (word1 >> 8) & 0xff; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1121:20: error: assignment of read-only location '*(dev->dev_addr + 4u)' dev->dev_addr[4] = (word1 >> 16) & 0xff; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1122:20: error: assignment of read-only location '*(dev->dev_addr + 5u)' dev->dev_addr[5] = (word1 >> 24) & 0xff; ^ /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c: In function 'tsi108_set_mac': /kisskb/src/drivers/net/ethernet/tundra/tsi108_eth.c:1146:20: error: assignment of read-only location '*(dev->dev_addr + (sizetype)((unsigned int)i * 1u))' dev->dev_addr[i] = ((unsigned char *)addr)[i + 2]; ^ make[5]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/net/ethernet/tundra/tsi108_eth.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net/ethernet/tundra] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net/ethernet] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1840: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_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/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 # Build took: 0:00:55.267438