Buildresult: powerpc-next/mpc885_ads_defconfig/powerpc-gcc5 built on Feb 16 2023, 12:23
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 16 2023, 12:23
Duration:
0:00:45.916237
Builder:
ka7
Revision:
macintosh: windfarm: Use unsigned type for 1-bit bitfields (
748ea32d2dbd813d3bd958117bde5191182f909a)
Target:
powerpc-next/mpc885_ads_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
mpc885_ads_defconfig
(
download
)
Log:
Download original
Possible warnings (1)
fs/coredump.c:841:12: warning: 'dump_emit_page' defined but not used [-Wunused-function]
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-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 748ea32d2dbd813d3bd958117bde5191182f909a # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc885_ads_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/coredump.c:841:12: warning: 'dump_emit_page' defined but not used [-Wunused-function] static int dump_emit_page(struct coredump_params *cprm, struct page *page) ^ Completed OK # rm -rf /kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-gcc5 # Build took: 0:00:45.916237
© Michael Ellerman 2006-2018.