2024-01-18 08:48:59

by Uwe Kleine-König

[permalink] [raw]
Subject: [GIT PULL] pwm: Changes for v6.8-rc1, take 2

Hello Linus,

the following changes since commit 7afc0e7f681e6efd6b826f003fc14c17b5093643:

MAINTAINERS: pwm: Thierry steps down, Uwe takes over (2024-01-12 16:40:34 +0100)

are available in the Git repository at:

[email protected]:pub/scm/linux/kernel/git/ukleinek/linux tags/pwm/for-6.8-2

for you to fetch changes up to 9320fc509b87b4d795fb37112931e2f4f8b5c55f:

pwm: jz4740: Don't use dev_err_probe() in .request() (2024-01-12 18:25:05 +0100)

The commits are in next since next-20240117 only, but they are small
and obvious enough to qualify for inclusion IMHO.

Please pull this for v6.8-rc1.

Thanks to Sean for his contribution to this PR.

Best regards
Uwe

----------------------------------------------------------------
pwm changes for 6.8, take 2

The first commit fixes a duplicate cleanup in an error path introduced
in pwm/for-6.8-rc1~13.

The second cares for an out-of-bounds access. In practise it doesn't
happen---otherwise someone would have noticed since v5.17-rc1 I
guess---because the device tree binding for the two drivers using
of_pwm_single_xlate() only have args->args_count == 1. A device-tree
that doesn't conform to the respective bindings could trigger that
easily however.

The third and last one corrects the request callback of the jz4740 pwm
driver which used dev_err_probe() long after .probe() completed. This is
conceptually wrong because dev_err_probe() might call
device_set_deferred_probe_reason() which is nonsensical after the driver
is bound.
----------------------------------------------------------------

Sean Young (1):
pwm: bcm2835: Remove duplicate call to clk_rate_exclusive_put()

Uwe Kleine-K?nig (2):
pwm: Fix out-of-bounds access in of_pwm_single_xlate()
pwm: jz4740: Don't use dev_err_probe() in .request()

drivers/pwm/core.c | 2 +-
drivers/pwm/pwm-bcm2835.c | 4 +---
drivers/pwm/pwm-jz4740.c | 7 ++++---
3 files changed, 6 insertions(+), 7 deletions(-)

--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | https://www.pengutronix.de/ |


Attachments:
(No filename) (2.12 kB)
signature.asc (499.00 B)
Download all attachments

2024-01-19 01:09:51

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] pwm: Changes for v6.8-rc1, take 2

The pull request you sent on Thu, 18 Jan 2024 09:29:10 +0100:

> [email protected]:pub/scm/linux/kernel/git/ukleinek/linux tags/pwm/for-6.8-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5c93506983626419fb8719a7301b53faea1e0bb3

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html