[PATCH v2 0/2] thermal: intel: int340x platform temperature

aravindanilraj0702@gmail.com posted 2 patches 4 days, 3 hours ago
.../int340x_thermal/platform_temperature_control.c   | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
[PATCH v2 0/2] thermal: intel: int340x platform temperature
Posted by aravindanilraj0702@gmail.com 4 days, 3 hours ago
From: Aravind Anilraj <aravindanilraj0702@gmail.com>

This series fixes two issues in the Intel int340x platform temperature
control driver.

Patch 1 fixes a potential shift overflow where a u32 value is shifted
into a u64 register without casting, which may lead to incorrect
hardware configuration.

Patch 2 checks the return value of ptc_create_groups() and ensures
proper cleanup of previously created sysfs groups on error.

Changes in v2:
Patch 1: No changes.
Patch 2: Add missing sysfs cleanup loop in error path.

Aravind Anilraj (2):
  thermal: intel: int340x: Fix potential shift overflow in
    ptc_mmio_write
  thermal: intel: int340x: Check return value of ptc_create_groups()

 .../int340x_thermal/platform_temperature_control.c   | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

-- 
2.47.3