# git rev-parse -q --verify 3bdad1ab76f4171ea20dc7452f1a439c8cf5031f^{commit} 3bdad1ab76f4171ea20dc7452f1a439c8cf5031f already have revision, skipping fetch # git checkout -q -f -B kisskb 3bdad1ab76f4171ea20dc7452f1a439c8cf5031f # git clean -qxdf # < git log -1 # commit 3bdad1ab76f4171ea20dc7452f1a439c8cf5031f # Author: Christophe Leroy # Date: Fri Mar 4 18:14:03 2022 +0100 # # drm/nouveau/bios: Rename prom_init() and friends functions # # While working on powerpc headers, I ended up with the following error. # # drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.c:48:1: error: conflicting types for 'prom_init'; have 'void *(struct nvkm_bios *, const char *)' # make[5]: *** [scripts/Makefile.build:288: drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.o] Error 1 # # powerpc and a few other architectures have a prom_init() global function. # One day or another it will conflict with the one in shadowrom.c # # Those being static, they can easily be renamed. Do it. # # Signed-off-by: Christophe Leroy # < /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 3bdad1ab76f4171ea20dc7452f1a439c8cf5031f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_52xx_motionpro_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/motionpro_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_52xx_motionpro_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_52xx_motionpro_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_52xx_motionpro_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/chleroy_52xx_motionpro_defconfig_powerpc-gcc5 # Build took: 0:01:04.174359