diff options
author | Karthik Poosa | 2024-04-05 18:31:27 +0530 |
---|---|---|
committer | Lucas De Marchi | 2024-04-11 08:41:53 -0500 |
commit | a8ad8715472bb8f6a2ea8b4072a28151eb9f4f24 (patch) | |
tree | 0a8a2cb60a5c9277284317a88655f13134836f9f /sound | |
parent | 50a9b7fc151e67b9e642232d32e8c5a5ac13e64a (diff) |
drm/xe/hwmon: Cast result to output precision on left shift of operand
Address potential overflow in result of left shift of a
lower precision (u32) operand before assignment to higher
precision (u64) variable.
v2:
- Update commit message. (Himal)
Fixes: 4446fcf220ce ("drm/xe/hwmon: Expose power1_max_interval")
Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Badal Nilawar <badal.nilawar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240405130127.1392426-5-karthik.poosa@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 883232b47b81108b0252197c747f396ecd51455a)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions