diff options
author | 2019-10-30 14:34:03 +0800 | |
---|---|---|
committer | 2019-11-12 10:05:57 +0100 | |
commit | 0f1839d0888700389e3062b4787046d61780d6d9 (patch) | |
tree | 3aea53029e5a30477a070ff4cab0321f60b82a96 /lib/test_overflow.c | |
parent | ACPI: NUMA: HMAT: fix a section mismatch (diff) | |
download | wireguard-linux-0f1839d0888700389e3062b4787046d61780d6d9.tar.xz wireguard-linux-0f1839d0888700389e3062b4787046d61780d6d9.zip |
ACPI: HMAT: use %u instead of %d to print u32 values
Use %u instead of %d to print u32 values to expand the value range,
especially when latency or bandwidth value is bigger than INT_MAX.
Then HMAT latency can support up to 4.29s and bandwidth can support
up to 4PB/s.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jingqi Liu <Jingqi.liu@intel.com>
Signed-off-by: Tao Xu <tao3.xu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions