diff options
author | Subrata Banik <subratabanik@google.com> | 2024-09-28 03:36:18 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-10-01 21:35:20 +0000 |
commit | caefaaa093eaff7cba9cdd4d4b6bfd987890ea15 (patch) | |
tree | dbfa474c2abbc33f7aed6bd892b56e64a365b47f /src/soc/intel/tigerlake/acpi | |
parent | c74de0dea765159e9d7b2f3541b389e95012e063 (diff) |
util/lint: Use bigint for hexadecimal values in handle_range
The `handle_range` function in `kconfig_lint` was failing to correctly
handle large hexadecimal values (64-bit value) due to limitations with
Perl's handling of standard integers.
This commit modifies the function to use the `bigint` pragma, enabling
it to handle arbitrarily large integers. This prevents issues with
64-bit hexadecimal values and ensures accurate comparisons for range
validation.
Change-Id: I402bb9bec9ba5bfb79b4185f35228c41d4a7b674
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84575
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/tigerlake/acpi')
0 files changed, 0 insertions, 0 deletions