Buildresult: powerpc-next/powernv_defconfig/powerpc-gcc11 built on Feb 16 2023, 13:06
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 16 2023, 13:06
Duration:
0:03:21.472869
Builder:
alpine3
Revision:
macintosh: windfarm: Use unsigned type for 1-bit bitfields (
748ea32d2dbd813d3bd958117bde5191182f909a)
Target:
powerpc-next/powernv_defconfig/powerpc-gcc11
Branch:
powerpc-next
Compiler:
powerpc-gcc11
(powerpc64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
powernv_defconfig
(
download
)
Log:
Download original
Possible warnings (2)
arch/powerpc/kernel/head_64.o: warning: objtool: end_first_256B(): can't find starting instruction arch/powerpc/kernel/optprobes_head.o: warning: objtool: optprobe_template_end(): can't find starting instruction
Full Log
# git rev-parse -q --verify 748ea32d2dbd813d3bd958117bde5191182f909a^{commit} 748ea32d2dbd813d3bd958117bde5191182f909a already have revision, skipping fetch # git checkout -q -f -B kisskb 748ea32d2dbd813d3bd958117bde5191182f909a # git clean -qxdf # < git log -1 # commit 748ea32d2dbd813d3bd958117bde5191182f909a # Author: Nathan Chancellor <nathan@kernel.org> # Date: Wed Feb 15 10:12:12 2023 -0700 # # macintosh: windfarm: Use unsigned type for 1-bit bitfields # # Clang warns: # # drivers/macintosh/windfarm_lm75_sensor.c:63:14: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] # lm->inited = 1; # ^ ~ # # drivers/macintosh/windfarm_smu_sensors.c:356:19: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] # pow->fake_volts = 1; # ^ ~ # drivers/macintosh/windfarm_smu_sensors.c:368:18: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] # pow->quadratic = 1; # ^ ~ # # There is no bug here since no code checks the actual value of these # fields, just whether or not they are zero (boolean context), but this # can be easily fixed by switching to an unsigned type. # # Signed-off-by: Nathan Chancellor <nathan@kernel.org> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20230215-windfarm-wsingle-bit-bitfield-constant-conversion-v1-1-26415072e855@kernel.org # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 748ea32d2dbd813d3bd958117bde5191182f909a # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/kernel/head_64.o: warning: objtool: end_first_256B(): can't find starting instruction arch/powerpc/kernel/optprobes_head.o: warning: objtool: optprobe_template_end(): can't find starting instruction Completed OK # rm -rf /kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc11 # Build took: 0:03:21.472869
© Michael Ellerman 2006-2018.