m68knommu: fix missing LCD splash screen data initializer
Subsystems (2)
Greg Ungerer
maintainerPATCH 1/1 m68knommu: fix missing LCD splash screen data initializer
The kernel test robot reports that the "screen_bits" splash screen data is missing for the dragen platform:
arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
73 | LSSA = (long) screen_bits;
| ^~~~~~~~~~~
arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears inDigging around a bit I found the screen_bits data structure was originally in a screen.h file that was generated from a screen.xbm file. That was removed in commit 0c0e6db80683 ("m68k: drop unused parts of 68VZ328 Makefile").
Other splash screen initializers for 68000 targets are kept here as the C data structures so lets do the same for this one. Add the missing screen.h file and include it in the dragen specific startup code.
--- arch/m68k/68000/dragen2.c | 1 + arch/m68k/68000/screen.h | 804 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 805 insertions(+) create mode 100644 arch/m68k/68000/screen.h
arch/m68k/68000/dragen2.c +1 -0
@@ -11,6 +11,7 @@#include <linux/init.h> #include <asm/machdep.h> #include <asm/MC68VZ328.h> +#include "screen.h" /***************************************************************************/ /* Init Drangon Engine hardware */
arch/m68k/68000/screen.h new file +804 -0
804 lines not on this page · raw message
Signature · 1 line
2.25.1
Quoted 9 lines · Greg Ungerer
The kernel test robot reports that the "
screen_bits" splash screen data is missing for the dragen platform:arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function) 73 | LSSA = (long) screen_bits; | ^~~~~~~~~~~ arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in
Quoted 8 lines
Digging around a bit I found the
screen_bitsdata structure was originally in ascreen.hfile that was generated from a screen.xbm file. That was removed in commit0c0e6db80683("m68k: drop unused parts of 68VZ328Makefile").Other splash screen initializers for 68000 targets are kept here as the C data structures so lets do the same for this one. Add the missing
screen.hfile and include it in the dragen specific startup code.
Thanks, I certainly appreciate not getting the nag emails from the lkp bot any more ;-)
I also see that it started out like this even in linux-2.5.25 when Alan Cox originally merged arch/m68knommu, so presumably the platform has never been used (at least with a screen) after it got merged into mainline.
Quoted 2 lines
Reported-by kernel test robot <[email protected]>Signed-off-by Greg Ungerer <[email protected]>>
Note: extra '>' in your signed-off-by line
Arnd
Greg Ungerer
maintainerQuoted 15 lines · Arnd Bergmann
Quoted 14 lines · Greg Ungerer
The kernel test robot reports that the "
screen_bits" splash screen data is missing for the dragen platform:arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function) 73 | LSSA = (long) screen_bits; | ^~~~~~~~~~~ arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears inDigging around a bit I found the
screen_bitsdata structure was originally in ascreen.hfile that was generated from a screen.xbm file. That was removed in commit0c0e6db80683("m68k: drop unused parts of 68VZ328Makefile").
Quoted 6 lines
Quoted 3 lines
Other splash screen initializers for 68000 targets are kept here as the C data structures so lets do the same for this one. Add the missing
screen.hfile and include it in the dragen specific startup code.Thanks, I certainly appreciate not getting the nag emails from the lkp bot any more ;-)
You and me both :-)
Quoted 10 lines
Acked-by Arnd Bergmann <[email protected]>I also see that it started out like this even in linux-2.5.25 when Alan Cox originally merged
arch/m68knommu, so presumably the platform has never been used (at least with a screen) after it got merged into mainline.Quoted 2 lines
Reported-by kernel test robot <[email protected]>Signed-off-by Greg Ungerer <[email protected]>>Note: extra '>' in your signed-off-by line
Oops, yep. I'll fix that before I push it up to the m68knommu git tree (which won't be for a couple of weeks at least yet).
Regards
Greg
Quoted 2 lines
Arnd