lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 11 Jun 2017 20:42:47 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     David Airlie <airlied@...ux.ie>,
        dri-devel <dri-devel@...ts.freedesktop.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Fengguang Wu <fengguang.wu@...el.com>,
        Hoegeun Kwon <hoegeun.kwon@...sung.com>
Subject: [PATCH] drm: panel: fix s6e3ha2.c build errors

From: Randy Dunlap <rdunlap@...radead.org>

Fix build errors in panel-samsung-s6e3ha2.c driver build. The driver
uses backlight interfaces so it should depend on BACKLIGHT_CLASS_DEVICE.

drivers/built-in.o: In function `s6e3ha2_remove':
panel-samsung-s6e3ha2.c:(.text+0xe49c2): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `s6e3ha2_probe':
panel-samsung-s6e3ha2.c:(.text+0xe4dad): undefined reference to `backlight_device_register'
panel-samsung-s6e3ha2.c:(.text+0xe4e33): undefined reference to `backlight_device_unregister'

Reported-by: kbuild test robot <fengguang.wu@...el.com>
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: David Airlie <airlied@...ux.ie>
Cc: dri-devel@...ts.freedesktop.org
Cc: Hoegeun Kwon <hoegeun.kwon@...sung.com>
---
 drivers/gpu/drm/panel/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- lnx-412-rc5.orig/drivers/gpu/drm/panel/Kconfig
+++ lnx-412-rc5/drivers/gpu/drm/panel/Kconfig
@@ -66,6 +66,7 @@ config DRM_PANEL_SAMSUNG_S6E3HA2
 	tristate "Samsung S6E3HA2 DSI video mode panel"
 	depends on OF
 	depends on DRM_MIPI_DSI
+	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E8AA0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ