* [PATCH] video: fm2fb: Fixed iomem access.
@ 2026-11-01 14:13 Steffen A. Mork
2026-11-18 18:31 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Steffen A. Mork @ 2026-11-01 14:13 UTC (permalink / raw)
To: linux-fbdev; +Cc: Steffen A. Mork
This driver has not been tested for at least twenty years. In the meantime,
the frame buffer API has been updated. This patch addresses this issue and
makes the driver functional again.
Signed-off-by: Steffen A. Mork <linux-dev@morknet.de>
---
drivers/video/fbdev/fm2fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/fm2fb.c b/drivers/video/fbdev/fm2fb.c
index 25d2e716edf2..ed4457df7707 100644
--- a/drivers/video/fbdev/fm2fb.c
+++ b/drivers/video/fbdev/fm2fb.c
@@ -257,7 +257,7 @@ static int fm2fb_probe(struct zorro_dev *z, const struct zorro_device_id *id)
strcpy(fb_fix.id, is_fm ? "FrameMaster II" : "Rainbow II");
/* make EBU color bars on display */
- ptr = (unsigned long *)fb_fix.smem_start;
+ ptr = (unsigned long *)info->screen_base;
for (y = 0; y < 576; y++) {
for (x = 0; x < 96; x++) *ptr++ = 0xffffff;/* white */
for (x = 0; x < 96; x++) *ptr++ = 0xffff00;/* yellow */
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] video: fm2fb: Fixed iomem access.
2026-11-01 14:13 [PATCH] video: fm2fb: Fixed iomem access Steffen A. Mork
@ 2026-11-18 18:31 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2026-11-18 18:31 UTC (permalink / raw)
To: Steffen A. Mork, linux-fbdev
On 11/1/26 15:13, Steffen A. Mork wrote:
> This driver has not been tested for at least twenty years. In the meantime,
> the frame buffer API has been updated. This patch addresses this issue and
> makes the driver functional again.
>
> Signed-off-by: Steffen A. Mork <linux-dev@morknet.de>
> ---
> drivers/video/fbdev/fm2fb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied.
Thanks!
Helge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-18 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-01 14:13 [PATCH] video: fm2fb: Fixed iomem access Steffen A. Mork
2026-11-18 18:31 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox