From patchwork Sun Feb 5 09:44:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 52886 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1711266wrn; Sun, 5 Feb 2023 01:59:46 -0800 (PST) X-Google-Smtp-Source: AK7set8z0bfwZIgkiptSIz2DkOqGxR7I0ypR+2ekMj9XzPuxaQCSzWi2x4tJSxvam0l6gvEZxgA7 X-Received: by 2002:a50:d783:0:b0:4aa:a76b:1ac7 with SMTP id w3-20020a50d783000000b004aaa76b1ac7mr1564015edi.25.1675591186554; Sun, 05 Feb 2023 01:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675591186; cv=none; d=google.com; s=arc-20160816; b=MzXWfgSemnZL//0PpDg2Pt0MJy3SGGGvdQrhZF5ukYZB+FdtvH6VHxXYUJUynRowRz mULMrGfFLfEGhAW/6zbmlgQoyft13hBvxicI6jU0Wwl9wdZdS2IRKaLmRmRlA+2Myozy aCi8RpbtpUva3Eto2GtJ2omCdKRlEeLLA93EBZ/T0XthSrgm9G1++wNrDaoCb9BCgjv0 vTFfftzBf0MFaTRgph/EegUyA5v+WbcwK4bPOXRSqc9BSi+Z9iasFn56AFJjSK67driF J1SnLWy0B9s8+VmQpNfFM1MkxVcTMFfQ6BKb/KlZihfzaRWRC5SemX4VkKbbcaciE5C/ eFUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:ui-outboundreport :content-disposition:mime-version:message-id:subject:to:from:date :dkim-signature; bh=R/DvMlek02dy8elAZbRsPAVpHALZeYukJ+Frw3W74QQ=; b=wRcow6nhNkvE1U/XZEuCkVVSdf/Q4N0LKaYNH7OZZdQ2UOh1wNY7UZAvd36yn/Y4mt Y+o+4La2I09X3jXL5yKsm1RmtZrMXlQQMzCiiHxxgrIP7A2LbqmoWYPhzcNW8IBpayqb dZJwy3XXSvZFZzI/WpH6uGRz6CeWJF9Ci/vno6OiaQ1MZcUMzoGrObzUdJA0sOyFd8VF o8s4rbP4aXYUMzR/q8dzBZEtYNNNcY/rCuc9BJ74md6b+AT9Zx2+M59mMlvhSX1oVfyU a/nlEt2XPtTbYFmBIDCzR8e0c12Cn9E/U6zNC4OF8HZeW2B/icaViYJbUrQENhQb2wtH 1qWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=aCK9loip; 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 z5-20020a05640235c500b004a2657551e4si11095383edc.287.2023.02.05.01.59.19; Sun, 05 Feb 2023 01:59:46 -0800 (PST) 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=aCK9loip; 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 S229484AbjBEJoc (ORCPT + 99 others); Sun, 5 Feb 2023 04:44:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjBEJob (ORCPT ); Sun, 5 Feb 2023 04:44:31 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C74991C330; Sun, 5 Feb 2023 01:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1675590265; bh=UR5JiAGIMlz6X9Cdqq2wgkG8j96lA/E+jMDdXd5wrgE=; h=X-UI-Sender-Class:Date:From:To:Subject; b=aCK9loipCDe9ngykteluEaVvtnnPDBBOukftp5/iUGpshlcU0+CRJiAJETCrAFjy+ RBRrqUiw0XrJgD5NBRbNGxOI84+w54h9jWx+Qt1BPRjyqdH/mj7wWnD5BjWITX9mmT Yt2CGmMXmyZQW1kCZytHi7+JOwsRV1fOHsp1FtykEvZvaEg12JXqsJDVItME1iTcAq 37dUNcUaDZeD3H3TiXtAyTa6r/LmYreP5UOcZk6TiQdIGYfC987tnFJS/jQNHbG83h 8HFR1mt4KomCXRbakoef9dT3thkMQaiEa2pQJaPf/C1M9YzFzgoI0JtrqjGiivQvnd VvEAe2S81E3sw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ls3530 ([92.116.173.244]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1ML9uK-1p6Nvn0tco-00I9my; Sun, 05 Feb 2023 10:44:25 +0100 Date: Sun, 5 Feb 2023 10:44:23 +0100 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.2-rc7 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:4I3p7DxPNQAaF2icixvVhv/C/mp5VwgKAhBRzEfc+xmjnIKqLPY j8hUpQnu18CCtCnzho83rZU+eIgP3LXegRuvngSz7S968CwPvc/pgT2m+qmeSATfsiLGaNW 5Su+JBb7DrWbrOqV6MNXuoe02vbaSrWojjfnef4gOo5Q8Bjq3bmvrNO2hMLo44INdLgUpuF aWFlBOz56oAIFnYN/GZ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0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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?1756984703933099816?= X-GMAIL-MSGID: =?utf-8?q?1756984703933099816?= Hi Linus, please pull the latest fbdev fixes for 6.2-rc7, which - fix fbcon to prevent fonts bigger than 32x32 pixels to avoid overflows reported by syzbot, - switch omapfb to use kstrtobool(), and - switch some fbdev drivers to use the backlight helpers Thanks, Helge ------- The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262: Linux 6.2-rc3 (2023-01-08 11:49:43 -0600) are available in the Git repository at: http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/fbdev-for-6.2-rc7 for you to fetch changes up to 2b09d5d364986f724f17001ccfe4126b9b43a0be: fbcon: Check font dimension limits (2023-02-04 14:29:19 +0100) ---------------------------------------------------------------- fbdev updates for kernel 6.2-rc7: - Check font size in fbcon, reported by UBSAN and syzbot - Use backlight helpers in various fbdev drivers ---------------------------------------------------------------- Christophe JAILLET (1): fbdev: omapfb: Use kstrtobool() instead of strtobool() Randy Dunlap (1): fbdev: fbmon: fix function name in kernel-doc Samuel Thibault (1): fbcon: Check font dimension limits Stephen Kitt (8): fbdev: aty128fb: Use backlight helper fbdev: atyfb: Use backlight helper fbdev: radeon: Use backlight helper fbdev: mx3fb: Use backlight helper fbdev: nvidia: Use backlight helper fbdev: omapfb: panel-dsi-cm: Use backlight helper fbdev: riva: Use backlight helper fbdev: atmel_lcdfb: Rework backlight status updates drivers/video/fbdev/atmel_lcdfb.c | 22 +--------------------- drivers/video/fbdev/aty/aty128fb.c | 6 ++---- drivers/video/fbdev/aty/atyfb_base.c | 8 +------- drivers/video/fbdev/aty/radeon_backlight.c | 6 +----- drivers/video/fbdev/core/fbcon.c | 7 +++++-- drivers/video/fbdev/core/fbmon.c | 2 +- drivers/video/fbdev/mx3fb.c | 7 +------ drivers/video/fbdev/nvidia/nv_backlight.c | 8 +------- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 8 +------- .../video/fbdev/omap2/omapfb/dss/display-sysfs.c | 7 ++++--- .../video/fbdev/omap2/omapfb/dss/manager-sysfs.c | 7 ++++--- .../video/fbdev/omap2/omapfb/dss/overlay-sysfs.c | 3 ++- drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c | 3 ++- drivers/video/fbdev/riva/fbdev.c | 8 +------- 14 files changed, 27 insertions(+), 75 deletions(-)