diff options
| author | Geert Uytterhoeven <[email protected]> | 2024-06-26 10:41:45 +0200 |
|---|---|---|
| committer | Jocelyn Falempe <[email protected]> | 2024-06-27 11:41:58 +0200 |
| commit | 54be78446d0ac117c1781b0f67e77f3a78f08529 (patch) | |
| tree | 9b72a79b879cbe8776a90f8daa28e34cb0e2faaa /net/unix/sysctl_net_unix.c | |
| parent | e044e707fc97dac693691178cdf41fe1a8da928f (diff) | |
drm/panic: Restrict graphical logo handling to built-in
When CONFIG_DRM_PANIC=y, but CONFIG_DRM=m:
ld: drivers/gpu/drm/drm_panic.o: in function `drm_panic_setup_logo':
drivers/gpu/drm/drm_panic.c:99: multiple definition of `init_module'; drivers/gpu/drm/drm_drv.o:drivers/gpu/drm/drm_drv.c:1079: first defined here
Fix this by restricting the graphical logo handling and its
device_initcall() to the built-in case. Logos are freed during late
kernel initialization, so they are no longer available at module load
time anyway.
Fixes: 294bbd1f2697 ("drm/panic: Add support for drawing a monochrome graphical logo")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Jocelyn Falempe <[email protected]>
Signed-off-by: Jocelyn Falempe <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/4009fca99a7c05f617cc9899c6d0a5748415595d.1719391132.git.geert+renesas@glider.be
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions