# git rev-parse -q --verify fc83e1e2b134eb2df1520b533cc841a7f91fc620^{commit} fc83e1e2b134eb2df1520b533cc841a7f91fc620 already have revision, skipping fetch # git checkout -q -f -B kisskb fc83e1e2b134eb2df1520b533cc841a7f91fc620 # git clean -qxdf # < git log -1 # commit fc83e1e2b134eb2df1520b533cc841a7f91fc620 # Author: Rob Herring # Date: Fri Jul 14 11:40:30 2023 -0600 # # powerpc: Explicitly include correct DT includes # # The DT of_device.h and of_platform.h date back to the separate # of_platform_bus_type before it as merged into the regular platform bus. # As part of that merge prepping Arm DT support 13 years ago, they # "temporarily" include each other. They also include platform_device.h # and of.h. As a result, there's a pretty much random mix of those include # files used throughout the tree. In order to detangle these headers and # replace the implicit includes with struct declarations, users need to # explicitly include the correct includes. # # Signed-off-by: Rob Herring # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230714174035.4040233-1-robh@kernel.org # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 fc83e1e2b134eb2df1520b533cc841a7f91fc620 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/maple/setup.c: In function 'maple_cpc925_edac_setup': /kisskb/src/arch/powerpc/platforms/maple/setup.c:336:16: error: implicit declaration of function 'platform_device_register_simple' [-Werror=implicit-function-declaration] 336 | pdev = platform_device_register_simple("cpc925_edac", 0, &r, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/platforms/maple/setup.c:336:14: error: assignment to 'struct platform_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 336 | pdev = platform_device_register_simple("cpc925_edac", 0, &r, 1); | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:243: arch/powerpc/platforms/maple/setup.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:477: arch/powerpc/platforms/maple] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:477: arch/powerpc/platforms] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:477: arch/powerpc] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2020: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/powerpc-next_ppc64_defconfig_powerpc-gcc12 # Build took: 0:03:24.322949