diff options
author | 2025-01-13 16:50:47 +0800 | |
---|---|---|
committer | 2025-01-13 10:48:20 +0100 | |
commit | d08a1049659aa91784306b7244116e71f569e5a0 (patch) | |
tree | e144f6399047c938cbfb54830f16aa2033533e7f /scripts/generate_rust_analyzer.py | |
parent | HID: intel-thc-hid: intel-thc: Fix error code in thc_i2c_subip_init() (diff) | |
download | linux-rng-d08a1049659aa91784306b7244116e71f569e5a0.tar.xz linux-rng-d08a1049659aa91784306b7244116e71f569e5a0.zip |
HID: intel-thc-hid: intel-quicki2c: fix potential memory corruption
Use U32 to get value from ACPI and explicitly cast to U16.
Fixes: 5282e45ccbfa ("HID: intel-thc-hid: intel-quicki2c: Add THC QuickI2C ACPI interfaces")
Signed-off-by: Even Xu <even.xu@intel.com>
Link: https://patch.msgid.link/20250113085047.2100403-1-even.xu@intel.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions