From patchwork Thu Jun 1 19:28:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13264398 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 329D7C7EE23 for ; Thu, 1 Jun 2023 19:28:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 83CA710E5A2; Thu, 1 Jun 2023 19:28:31 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id 476AC10E5A2 for ; Thu, 1 Jun 2023 19:28:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1685647707; x=1686252507; i=deller@gmx.de; bh=95xZi3c0zdCPEBKapIlN/abEMmJTEkPxC05zhfjB1nI=; h=X-UI-Sender-Class:Date:From:To:Subject; b=e+BOwJPsM1V+EPmIoDwLYh3XBZkCX7K4rbwI+cSKndnzNC6V+nFAQZRFT70FGQ3UTCn9j0R wOHLne68BxNHhy3H8QNpk/yHMc0N8dW7/vqqHEvl1jmWj5+b4/QfH4Z32OUToQmNPNadgw7j5 jwYIgiWti4xWjnp3LaFe8y/qpGQPCvitWfJTMcqc+cS2k6JDrBsv9BXzpuQ5VFqNCJkBjRB+H 2uzZf+zNuBnZ3OJgvfdhrwYDpQCegd/W6MhbuRJqUx8KepLlJgDy/tjQ8/uldEPurpilKoMJN OCj3VjHidd4zil824cOTeh4oaZqTl/HareIMm8ElrV2+ssAn+/5Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ls3530 ([109.43.49.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M1psI-1q2c6t1cxk-002DzB; Thu, 01 Jun 2023 21:28:27 +0200 Date: Thu, 1 Jun 2023 21:28:24 +0200 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [GIT PULL] fbdev fixes for v6.4-rc5 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:tMC3QL7tU5dhhqXf5Ri3NzMwcNVaPxfW6hk3Tq8abKk2RWjhEnF 2BZrVLNfZzqZQBEtrUVfjWo20GLXPIApZmsORnVCB/GWTRphu5LEK5aHT4rw5WhMkEcGkox NmCnXO5s4O2r3sm/uzMOoaWo/GEx/rzr51pnnMhBRCMcrBS8MveTFQym8naxCVHkfJxXbdO oN6BQwD0sU7eH5JE8FwqQ== UI-OutboundReport: notjunk:1;M01:P0:3z3eF5z7XD4=;VsJ34xVH0nS6mJxG1O4h6LFSpec FoSdw3ai3d4nK5egTnFX5CnV5ElqClnhGo1iTVEwghS5pBfjxuHIKoJwRtRr8vznbUqLvx5V+ k0v63/JFavdUMhQxmqb4Q+I7+j0zdeIAn9A2KUkIOYXq+vZ5p7zzGs44wvjAcPGfbLOY27hgW zpa6kDuQqIbBCsWcB0JZOO+GxMf8zuFHj+vH5pcGUHPivkdppPKKqgoUtj45ljuBtTdy1hF6b c6LxeEYuYKrek5S/aAtutrln3L20D/ptL948UOUKmXrtxRm/JINPfKFi638/iCcIcldwJUHOe cspQGjGN/0Y1EttP6UjSCGK7yTLbE0M7Jjpj1kBUtCgcvAYmLD7s3N1zojHylDDwB+z6v9PdJ P1x2dS7lKWNT66kiAz1CrYRcYUYVMEvCX0/N+jdELotzpardD7oRfw+NjibVdrebobv2Xa6Go afJ5NLv/uFSkFxthKuew0JolIaInB726KHp/lYYgJHDBCZqFF88+oLdXtXa6jshjfvPkExcf4 gGh3vLMfAklNtG+CO/eekp2jGK8Jv7V7EPDd1E9WrXjwxGHN8QhIxbBl6SOWMHRgJAQl0zoyM YnKvau8Q0wcHZ3LRamgrZttcLE3DxU75x2//Du++lYdo5R0X9trWktuxj++6Gpa4PAGhaawFs bsKRB5kV2ZyXulyj0yMD0NVYmPyMHiGVuj3alzuc9R9iB/All80wxz999kDsHfo99yH3o3LWS hiMhwqVkyQirjRcVcRhyZrTOaG8Uj29bxis6eiy/CylznU0ClF2YkAxpu6ZlA86zHD+ByuWmd a49J/VmxqD5NQSfdRNsAV2ntnA8c+gEj/J80Y7GSjK+jCzh1yDa1el6A/ku8N2BJpeSWPtoxj h1LL3Li/ckz+QCw9eAa85aaqeeDup50ASCHC1JoqWicdNsCKwpyIfOiQ66xRVqw/vEUGV2l1V xkteBg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Linus, please pull some fbdev fixes & cleanups for kernel 6.4-rc5. Most noteably is a fix for a null-ptr-deref in fbcon's soft_cursor function which was found by syzbot. Thanks! Helge -------------- The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511: Linux 6.4-rc3 (2023-05-21 14:05:48 -0700) are available in the Git repository at: http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/fbdev-for-6.4-rc5 for you to fetch changes up to d19663edc91de65ae85eea9902addc9d04b0ceb6: fbdev: bw2: Convert to platform remove callback returning void (2023-05-30 18:33:25 +0200) ---------------------------------------------------------------- fbdev fixes for kernel 6.4-rc5: - Fix null-ptr-deref in soft_cursor - various remove callback conversions - error path fixes in imsttfb ---------------------------------------------------------------- Helge Deller (3): fbdev: imsttfb: Release framebuffer and dealloc cmap on error path fbdev: imsttfb: Fix error path of imsttfb_probe() fbcon: Fix null-ptr-deref in soft_cursor Uwe Kleine-König (7): fbdev: matroxfb ssd1307fb: Switch i2c drivers back to use .probe() fbdev: au1100fb: Drop if with an always false condition fbdev: arcfb: Convert to platform remove callback returning void fbdev: au1100fb: Convert to platform remove callback returning void fbdev: au1200fb: Convert to platform remove callback returning void fbdev: broadsheetfb: Convert to platform remove callback returning void fbdev: bw2: Convert to platform remove callback returning void drivers/video/fbdev/arcfb.c | 5 ++--- drivers/video/fbdev/au1100fb.c | 11 +++-------- drivers/video/fbdev/au1200fb.c | 6 ++---- drivers/video/fbdev/broadsheetfb.c | 5 ++--- drivers/video/fbdev/bw2.c | 6 ++---- drivers/video/fbdev/core/bitblit.c | 3 +++ drivers/video/fbdev/imsttfb.c | 12 +++++++++--- drivers/video/fbdev/matrox/matroxfb_maven.c | 2 +- drivers/video/fbdev/ssd1307fb.c | 2 +- 9 files changed, 25 insertions(+), 27 deletions(-)