# 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 # 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 # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20230215-windfarm-wsingle-bit-bitfield-constant-conversion-v1-1-26415072e855@kernel.org # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 748ea32d2dbd813d3bd958117bde5191182f909a # < make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 # Build took: 0:01:16.117353