From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380886; b=qA0838a57Wd5ON2z6mlqU7ihpzAAV1shIrR/vUXTnnlmkhMEOVcOOJC9/PYo90s/EDJp YG3JPNmg46I+Ns1kL5AmUEAhikC5DdzSnkDP6FxfQZVfnoU4ZMTdLNnXa1WX3u0IHcl4Y NSaZvYl1h1tAKto9bPkP93V5NNL2E8MGZw1xdr2r2EQCyfY6F/yG8C/bualaWNRd2ZgR5 QLYpw6I9NewxWupYxJ1VUHy4SdpJ2cOt146nVSbMQRpkCoczUGRw0sbQLrzTLzXHrL6dV sohb5VR4DW7NQ3lKnXFtSqCFIlkna1Sru3mfzkF7E4EhpsgCLAUILUB8aGHmB/4TJeQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380886; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=U78s0WV1y72fZtahZskuhtOL2hCjVAJ2ted/XKJlRCE=; b=B2rEjfjY/RrPmEd3YSzGNkMEaXD1YZ5xRrGkq2hpEsh5Jmb/fooP/zUYM24Wzwe/FpVe ZFA9tMtDQzrbiNJCVaGKM4wwWGr7WVVTSjIVKlu7uhMi+53DDe8+DIZi1ZBROfWmbeCyY A0SSIIwugJz5J0sXARJlQ8cZ9TfC/2ioT0kxcnOeilTbKvfbOYqmPhBlphxgBVhlFcm0U eHBdFS66G6o+UXdJRmahUngcObri+V2SdsIwS4gIAXklewwoBIJIC2ui8OkNcviQ7zsdW gnhIpGiV0UoQgvBcp6SqdvPe4REd7XP40gKn4AZ/NyFewDYICO0nk7WUP3erweLJ1qw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=tsHEJ1L8; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 618AE606A322; Fri, 4 Dec 2026 10:41:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=tsHEJ1L8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C71E61F00935; Fri, 4 Dec 2026 10:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380886; bh=U78s0WV1y72fZtahZskuhtOL2hCjVAJ2ted/XKJlRCE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=tsHEJ1L8Z3HLeRw0vtTui75IEY0Ypr7utdh4dwWXktuX6AmfaYu6rvDKrSf09lo5M YWyv5HL7Bcdi6ljjDhuq48OoMi2Abw41oSbaDXqPyLT8Np7r2zUG/j5NlEYPOSog70 47CtGC+PMOaEBFOH7fWclSuiHxqMepE3NjWKvHeo= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, "Steffen A. Mork" , Helge Deller Subject: [PATCH 7.3 466/742] fbdev: fm2fb: Fix iomem access Date: Fri, 4 Dec 2026 19:05:30 +0900 Message-ID: <20261204100647.535299637@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Steffen A. Mork commit 7d4a8a804cd1a3bcaa1a9a38e87517ead3130ca1 upstream. 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 Cc: stable@vger.kernel.org Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman --- drivers/video/fbdev/fm2fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/video/fbdev/fm2fb.c +++ b/drivers/video/fbdev/fm2fb.c @@ -257,7 +257,7 @@ static int fm2fb_probe(struct zorro_dev 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 */