aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-10-30 09:29:55 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-11-12 21:13:13 +0100
commit901990781657660b2621fa7ff86599cf0b98da31 (patch)
treea04503bad1eadd545fe300790292292db2bee352 /tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com
parentACPI: DPTF: Remove int340x thermal scan handler (diff)
thermal: intel: int340x: Use symbolic constant for UUID comparison
Replace sizeof() with a symbolic constant for UUID matching to maintain existing ABI behavior while improving code clarity. The current behavior of comparing only the first 7 characters is sufficient to distinguish all UUIDs and changing to full string comparison would alter the kernel ABI, potentially breaking existing userspace applications. Use a defined constant to make the truncated comparison explicit and maintainable. Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> [ rjw: Subject adjustments ] Link: https://patch.msgid.link/20251030035955.62171-1-kaushlendra.kumar@intel.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions