Bug 217354
Summary: | drivers/hid/amd-sfh-hid: get_feature_report is called with non-canonical address | ||
---|---|---|---|
Product: | Drivers | Reporter: | spasswolf |
Component: | Other | Assignee: | drivers_other |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | next-20230418 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | 4bd763568dbdafdf7cd6b3fcc73f84f1a6f305d1 |
Description
spasswolf
2023-04-19 12:33:58 UTC
In 4bd763568dbdafdf7cd6b3fcc73f84f1a6f305d1 the bug can be fixed by increasing MAX_HID_DEVICES: diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h index 528036892c9d..97296f587bc7 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h +++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h @@ -11,7 +11,7 @@ #ifndef AMDSFH_HID_H #define AMDSFH_HID_H -#define MAX_HID_DEVICES 5 +#define MAX_HID_DEVICES 6 #define AMD_SFH_HID_VENDOR 0x1022 #define AMD_SFH_HID_PRODUCT 0x0001 The patch above does NOT solve the hang on boot issue for next-20230418, so there probably is another perhaps unrelated bug. This new bug does not leave traces in logs so far. The other bug in next-20230418 was introduced in aca356f6b0ec7df50f108a36c13ef0c73f9ac5b5 but is no longer present in next-20230419. The bug which was introduced in aca356f6b0ec7df50f108a36c13ef0c73f9ac5b5 was fixex in commit 41d8f240eed1fc4b7e3d7bc6a56d92b844ef0956 Author: Mark Brown <broonie@kernel.org> Date: Fri Apr 14 17:54:12 2023 +0100 drm: Fix up merge issue Signed-off-by: Mark Brown <broonie@kernel.org> This commit is present in next-20230420. Fixed in next-20230426 (commit 37386669887d3f2ccf021322c5558353d20f2387 ). |