Patch "drm/panic: Select ZLIB_DEFLATE for DRM_PANIC_SCREEN_QR_CODE" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/panic: Select ZLIB_DEFLATE for DRM_PANIC_SCREEN_QR_CODE

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-panic-select-zlib_deflate-for-drm_panic_screen_q.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 71159af0e6d247c7217ae99fe2228c86ad30e0db
Author: Miguel Ojeda <ojeda@xxxxxxxxxx>
Date:   Fri Oct 4 01:07:34 2024 +0200

    drm/panic: Select ZLIB_DEFLATE for DRM_PANIC_SCREEN_QR_CODE
    
    [ Upstream commit 2ad84af4cff9121827d3dd35e293478bdb0b58bb ]
    
    Under `CONFIG_DRM_PANIC_SCREEN_QR_CODE=y`, zlib is used:
    
        ld.lld: error: undefined symbol: zlib_deflate_workspacesize
        >>> referenced by drm_panic.c
        >>>               drivers/gpu/drm/drm_panic.o:(drm_panic_qr_init) in archive vmlinux.a
    
    Thus select `CONFIG_ZLIB_DEFLATE`.
    
    Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
    Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
    Reviewed-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
    Signed-off-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20241003230734.653717-1-ojeda@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 1cb5a4f192933..cf5bc77e2362c 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -152,6 +152,7 @@ config DRM_PANIC_SCREEN
 config DRM_PANIC_SCREEN_QR_CODE
 	bool "Add a panic screen with a QR code"
 	depends on DRM_PANIC && RUST
+	select ZLIB_DEFLATE
 	help
 	  This option adds a QR code generator, and a panic screen with a QR
 	  code. The QR code will contain the last lines of kmsg and other debug




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux