Skip to content
Commit 768f17fd authored by Karthik Poosa's avatar Karthik Poosa Committed by Jani Nikula
Browse files

drm/i915/hwmon: Fix static analysis tool reported issues



Updated i915 hwmon with fixes for issues reported by static analysis tool.
Fixed integer overflow with upcasting.

v2:
- Added Fixes tag (Badal).
- Updated commit message as per review comments (Anshuman).

Fixes: 4c2572fe ("drm/i915/hwmon: Expose power1_max_interval")
Reviewed-by: default avatarBadal Nilawar <badal.nilawar@intel.com>
Reviewed-by: default avatarAnshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: default avatarKarthik Poosa <karthik.poosa@intel.com>
Signed-off-by: default avatarAnshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231204144809.1518704-1-karthik.poosa@intel.com


(cherry picked from commit ac3420d3)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 6bf35493
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment