From patchwork Tue Jun 27 06:17:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 113241 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7986219vqr; Mon, 26 Jun 2023 23:31:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ73A9xRgqjhZA1QMtGPGFwjhwG2ry3BATB2vsxbpH7el+Z7+LI6xStyh0/ocEpEfAqLaHGQ X-Received: by 2002:a05:6402:786:b0:51d:9883:afdf with SMTP id d6-20020a056402078600b0051d9883afdfmr3175991edy.12.1687847484263; Mon, 26 Jun 2023 23:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687847484; cv=none; d=google.com; s=arc-20160816; b=0giCU5Xx9ZoCSWDZfZ1K1q01MiscOOT1yma99gOpM3l2158U4vPIPUUkcabFJt1sP7 hSfg9zZx5dHj8popifMA5mPRdCQLlpYyDudkm/8qpYP8BuOQe2rZsp7+37U5lZ3wW6XI TOdob9y5riCnzhVCZT7b5Qq1CVM8hgNAFxDS41/zxWCCg97uv83TPpyH55sQU0ACH1xM 1QUWxGZe8FkWiNIB1924WHsmZrLwVXImWUr0sZFw3z4/Qcw58hkD2iStPmW3Txtrj859 TLDEfM8JR7RQNvk2WNoa0UuzYLGO9DGO2do57f9McsFe2j2PuFHiUe5WB/zBcqzQOJlk 3Z5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=s7/3XhFg3nQw3aaQjNtHIuf3Jv+8ZOXthLU3z5hdYQg=; fh=qLull/LYTxTbU48pKnPgbNZJUC0YbBAdZySjzzCSlBc=; b=UJD2pwpdqWDxvLpIrgOpK1otonW9j/rGRUVGuJwtEh/1ZyMEj5Mk5whhyxqWSDAeGs riNoObco7W38IxETcQ2OACr1VszLUQCsjVT3ro/nOgJDR5oxRTctCDv6AbmlWPb7U3FY /knFyaZfSX59s2WujzemjQJXpwwanQHveadTnhb8ASKYPOVH1QQH3sE+bX4czwN20uiw 8Y/ekE8JMJYp/iMX7JErhHtJKo/su1oDVXeUSBz7vod4Od0ak6LJxNhAx3ex0o7B1ZPu f0WVIyIRH0wD9PGua9EPG2NlEwYP+9HiXk93ZYTETZYPgdL/0YXXoQod2qeohGvbZfq1 KUgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=Adz33hOz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v21-20020aa7d815000000b0051827a10497si3824010edq.212.2023.06.26.23.30.59; Mon, 26 Jun 2023 23:31:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=Adz33hOz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230003AbjF0GSC (ORCPT + 99 others); Tue, 27 Jun 2023 02:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjF0GR7 (ORCPT ); Tue, 27 Jun 2023 02:17:59 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE68B99; Mon, 26 Jun 2023 23:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1687846672; x=1688451472; i=deller@gmx.de; bh=biWKrKStgCQVZ9bbSwx3mVIhNb6laWf8emSgOMQzZ5s=; h=X-UI-Sender-Class:Date:From:To:Subject; b=Adz33hOz0C9Rocc4r6kS7TC64qNTuom5XmlpJUnw3YOc2V2+t2PnKq5XWsv083Y0sRpYqfA tZ62BYKklRNXuipkyAKSMlv1nqBoamk8EiRExx5chhIru3mB2g4pjTQk2kxtcmdgBqUc3q7oq i88H7RIftKsTmUIx0Ax+gTKPfPfTE53NLNt9eicJJHBaGXOyX5oIBtjxfXEEvLh3f6FgfSLLz nSeoaKTwJB2ciEFSMVE5E8ySVOeIznzkwMhEyDLUJFkMHdrasVgK8OdEp7yj9t9uA+FbqIJOd ZTFexuq84oPfL6bkszWq0viaIBBOCWpo6TpaQ0E4RJbGR+v7SXVg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ls3530 ([94.134.155.6]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mv31W-1pwVCi1ZY0-00r4BQ; Tue, 27 Jun 2023 08:17:52 +0200 Date: Tue, 27 Jun 2023 08:17:50 +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.5-rc1 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:zTp4pv51aTHsupl3rEEfdVUmEV8y05XJW4UGEP7OX89HuzsBbmy c6U9j4ZlZBZ6xf9PCz2lOnqrd6yeR9hXtmZo3Bp6gRAMIWms/FeKJpfLab2vTD4CEXqGRb/ wmfoRNtlDecQEXrWHtW/W+isM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3m1beZwImjRw39rW sqWblw== X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769836363699899700?= X-GMAIL-MSGID: =?utf-8?q?1769836363699899700?= Hi Linus, please pull some fbdev fixes & cleanups for kernel 6.5-rc1. Includes is a fix for a potential out-of-bound memory access in fast_imageblit() and the switch of the VIA fbdev driver to use GPIO descriptors. Thanks! Helge -------------- The following changes since commit 9561de3a55bed6bdd44a12820ba81ec416e705a7: Linux 6.4-rc5 (2023-06-04 14:04:27 -0400) are available in the Git repository at: http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/fbdev-for-6.5-rc1 for you to fetch changes up to c2d22806aecb24e2de55c30a06e5d6eb297d161d: fbdev: fix potential OOB read in fast_imageblit() (2023-06-24 21:55:11 +0200) ---------------------------------------------------------------- fbdev fixes for 6.5-rc1: - fix potential OOB read in fast_imageblit() - fbdev/media: Use GPIO descriptors for VIA GPIO - broadsheetfb & metronomefb: Add MODULE_FIRMWARE macro - omapfb: error handling fix in mipid_spi_probe() - sh_mobile_lcdcfb, sh7760fb: Typo and warning fixes - hitfb: code cleanups ---------------------------------------------------------------- Christophe JAILLET (2): fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe() video/hdmi: Reorder fields in 'struct hdmi_avi_infoframe' Geert Uytterhoeven (1): fbdev: sh_mobile_lcdcfb: Fix ARGB32 overlay format typo Gustavo A. R. Silva (1): fbdev: sh7760fb: Fix -Wimplicit-fallthrough warnings Juerg Haefliger (2): fbdev: metronomefb: Add MODULE_FIRMWARE macro fbdev: broadsheetfb: Add MODULE_FIRMWARE macro Linus Walleij (1): fbdev/media: Use GPIO descriptors for VIA GPIO Lukas Bulwahn (1): MAINTAINERS: adjust entry in VIA UNICHROME(PRO)/CHROME9 FRAMEBUFFER DRIVER Thomas Zimmermann (3): fbdev: hitfb: Declare hitfb_blank() as static fbdev: hitfb: Fix integer-to-pointer cast fbdev: hitfb: Use NULL for pointers Zhang Shurong (1): fbdev: fix potential OOB read in fast_imageblit() MAINTAINERS | 1 - drivers/media/platform/via/via-camera.c | 51 +++++++++------------- drivers/video/fbdev/broadsheetfb.c | 2 + drivers/video/fbdev/core/sysimgblt.c | 2 +- drivers/video/fbdev/hitfb.c | 8 ++-- drivers/video/fbdev/metronomefb.c | 2 + drivers/video/fbdev/omap/lcd_mipid.c | 6 ++- drivers/video/fbdev/sh7760fb.c | 2 + drivers/video/fbdev/sh_mobile_lcdcfb.c | 2 +- drivers/video/fbdev/via/via-core.c | 2 +- drivers/video/fbdev/via/via-gpio.c | 28 ++++++------ .../linux => drivers/video/fbdev/via}/via-gpio.h | 1 - include/linux/hdmi.h | 4 +- 13 files changed, 54 insertions(+), 57 deletions(-) rename {include/linux => drivers/video/fbdev/via}/via-gpio.h (84%)