Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.5-branch] drivers: sensor: nxp: kinetis: temp: fix memset() length #73105

Merged
merged 2 commits into from
May 25, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented May 21, 2024

Backport 59402fd~2..59402fd from #73094.

Fixes: #73093

The NXP Kinetis temperature sensor depends on CONFIG_ADC. Make the driver
Kconfig select CONFIG_ADC to get better CI coverage (enabling the driver
when CONFIG_SENSOR is enabled without depending on CONFIG_ADC=y).

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
(cherry picked from commit 0a49b78)
Use the correct buffer size when calling memset().

Fixes: #73093

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
(cherry picked from commit 59402fd)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Sensors Sensors labels May 21, 2024
@henrikbrixandersen henrikbrixandersen self-assigned this May 21, 2024
@henrikbrixandersen henrikbrixandersen removed their assignment May 21, 2024
@henrikbrixandersen henrikbrixandersen added platform: NXP NXP platform: NXP Drivers NXP Semiconductors, drivers labels May 21, 2024
@henrikbrixandersen henrikbrixandersen added this to the v3.5.1 milestone May 21, 2024
@henrikbrixandersen henrikbrixandersen added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 22, 2024
@jhedberg jhedberg merged commit d47129f into v3.5-branch May 25, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sensors Sensors Backport Backport PR and backport failure issues platform: NXP Drivers NXP Semiconductors, drivers platform: NXP NXP Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants