From patchwork Tue Jan 9 21:34:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13515400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ACF83DB84 for ; Tue, 9 Jan 2024 21:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rNJkD-0006cn-6D; Tue, 09 Jan 2024 22:34:45 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rNJkA-001Z26-NU; Tue, 09 Jan 2024 22:34:42 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rNJkA-00667o-1u; Tue, 09 Jan 2024 22:34:42 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Thierry Reding Cc: Robert Foss , Bjorn Andersson , linux-pwm@vger.kernel.org, kernel@pengutronix.de, Douglas Anderson , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Alexander Shiyan , Benson Leung , Guenter Roeck , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, chrome-platform@lists.linux.dev Subject: [PATCH 0/5] pwm: Some improvements around .of_xlate() Date: Tue, 9 Jan 2024 22:34:30 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=961; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=k1tl0KN37p2K0b7qOKWEkrmyn1QBL1dkj6B3e6BITYw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlnbvoRqc5mrbM96UdzaOUAM8/Bh4d2soUH4R0F +5CaT1CHf+JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZZ276AAKCRCPgPtYfRL+ TqH1B/4m/xi6nYjDB7Gp39Jvktgrrknz/As6PcQoHQGpYZi5Co5EdfxGQZEeE7pR6e3m0KZXnMV VuWYIf6vFJyXJP+4UnLeR959pZVbzc+ASACr9/oVXbAnsYgzKL6k50bBUocf6WeHs3yBwCGq8K9 9IeoAV4hJseLCg62vusEiDP+ujUf9bwf1arXMbzGArZtv5s5bFHETtk+qK7196yxvQjIZd+QWe3 2+5ytecGvpxw49V1hm5Fv0Bcomzu1AMEIe++KRcjQda1/fW7+ofA80bMwELNEFJ6doZTWXKg2mO cXjku5eSkxvbAY2Dah/O1hNJz9D5QtFx5hnYtWSG6mE2ZHPE X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: chrome-platform@lists.linux.dev Hello, the first patch is a fix for an out-of-bounds access and so should probably go in quickly. The other changes are merge window material. Best regards Uwe Uwe Kleine-König (5): pwm: Fix out-of-bounds access in of_pwm_single_xlate() pwm: Drop useless member .of_pwm_n_cells of struct pwm_chip pwm: Let the of_xlate callbacks accept references without period pwm: clps711x: Drop custom .of_xlate() callback pwm: Drop duplicate check against chip->npwm in of_pwm_xlate_with_flags() drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 - drivers/pwm/core.c | 45 +++++++-------------------- drivers/pwm/pwm-clps711x.c | 11 ------- drivers/pwm/pwm-cros-ec.c | 1 - drivers/pwm/pwm-pxa.c | 4 +-- include/linux/pwm.h | 2 -- 6 files changed, 13 insertions(+), 51 deletions(-) base-commit: d73f444d06fb8a42a5c0623453f3ea1fe9880229