Skip to content

thermal: intel: int340x platform temperature

[email protected] linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2thermal: intel: int340x: Fix potential shift overflow in ptc_mmio_writedrivers/thermal/intel/int340x_thermal/platform_temperature_control.c+1 -10 replies
2/2thermal: intel: int340x: Check return value of ptc_create_groups()drivers/thermal/intel/int340x_thermal/platform_temperature_control.c+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

From: Aravind Anilraj <[email protected]>

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(-)
Signature · 1 line
2.47.3