# git rev-parse -q --verify ec7f49619d8ee13e108740c82f942cd401b989e9^{commit} ec7f49619d8ee13e108740c82f942cd401b989e9 already have revision, skipping fetch # git checkout -q -f -B kisskb ec7f49619d8ee13e108740c82f942cd401b989e9 # git clean -qxdf # < git log -1 # commit ec7f49619d8ee13e108740c82f942cd401b989e9 # Merge: d928e8f3af38 eb7bac3973d2 # Author: Linus Torvalds # Date: Fri May 13 16:20:25 2022 -0700 # # Merge tag 'drm-fixes-2022-05-14' of git://anongit.freedesktop.org/drm/drm # # Pull more drm fixes from Dave Airlie: # "Turns out I was right, some fixes hadn't made it to me yet. The vmwgfx # ones also popped up later, but all seem like bad enough things to fix. # The dma-buf, vc4 and nouveau ones are all pretty small. # # The fbdev fixes are a bit more complicated: a fix to cleanup fbdev # devices properly, uncovered some use-after-free bugs in existing # drivers. Then the fix for those bugs wasn't correct. This reverts that # fix, and puts the proper fixes in place in the drivers to avoid the # use-after-frees. # # This has had a fair number of eyes on it at this stage, and I'm # confident enough that it puts things in the right place, and is less # dangerous than reverting our way out of the initial change at this # stage. # # fbdev: # - revert NULL deref fix that turned into a use-after-free # - prevent use-after-free in fbdev # - efifb/simplefb/vesafb: fix cleanup paths to avoid use-after-frees # # dma-buf: # - fix panic in stats setup # # vc4: # - fix hdmi build # # nouveau: # - tegra iommu present fix # - fix leak in backlight name # # vmwgfx: # - Black screen due to fences using FIFO checks on SVGA3 # - Random black screens on boot due to uninitialized drm_mode_fb_cmd2 # - Hangs on SVGA3 due to command buffers being used with gbobjects" # # * tag 'drm-fixes-2022-05-14' of git://anongit.freedesktop.org/drm/drm: # drm/vmwgfx: Disable command buffers on svga3 without gbobjects # drm/vmwgfx: Initialize drm_mode_fb_cmd2 # drm/vmwgfx: Fix fencing on SVGAv3 # drm/vc4: hdmi: Fix build error for implicit function declaration # dma-buf: call dma_buf_stats_setup after dmabuf is in valid list # fbdev: efifb: Fix a use-after-free due early fb_info cleanup # drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name() # drm/nouveau/tegra: Stop using iommu_present() # fbdev: vesafb: Cleanup fb_info in .fb_destroy rather than .remove # fbdev: efifb: Cleanup fb_info in .fb_destroy rather than .remove # fbdev: simplefb: Cleanup fb_info in .fb_destroy rather than .remove # fbdev: Prevent possible use-after-free in fb_release() # Revert "fbdev: Make fb_release() return -ENODEV if fbdev was unregistered" # < /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 ec7f49619d8ee13e108740c82f942cd401b989e9 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5268:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:5268:warning: override: CPU_BIG_ENDIAN changes choice state .config:5270:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:5271:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:5272:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5274:warning: override: reassigning to symbol GCC_PLUGINS .config:5275:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH .config:5277:warning: override: reassigning to symbol UBSAN # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:310, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:38, from /kisskb/src/arch/powerpc/include/asm/mmu.h:405, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:46, from /kisskb/src/arch/powerpc/include/asm/paca.h:17, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:23, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/ipc.h:5, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/compat.h:14, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-64k.h: In function 'get_hugepd_cache_index': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-64k.h:60:1: error: no return statement in function returning non-void [-Werror=return-type] 60 | } | ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:120: arch/powerpc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1194: prepare0] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:00:15.156150