diff options
author | Stefan Binding | 2022-08-12 14:06:45 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2022-08-25 13:28:44 +0200 |
commit | 06865077b34c792181e3c4f82417a2888c6e7453 (patch) | |
tree | 3dbd1a8339f6c5ce74968fa0252739e1242cfc95 /scripts/spdxcheck.py | |
parent | 1c23f9e627a7b412978b4e852793c5e3c3efc555 (diff) |
ACPI: property: Fix type detection of unified integer reading functions
The current code expects the type of the value to be an integer type,
instead the value passed to the macro is a pointer.
Ensure the size comparison uses the correct pointer type to choose the
max value, instead of using the integer type.
Fixes: 923044133367 ("ACPI: property: Unify integer value reading functions")
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: John Garry <john.garry@huawei.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/spdxcheck.py')
0 files changed, 0 insertions, 0 deletions