diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2023-04-26 11:41:07 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-05-08 15:50:27 +0200 |
commit | 0150d1bfbedf29d7473ae458815781488f62d11d (patch) | |
tree | fdd6980027d617bc666e802393359363d358a805 /net/can/Makefile | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | linux-next-0150d1bfbedf29d7473ae458815781488f62d11d.tar.gz |
tools/x86/kcpuid: Dump the correct CPUID function in error
The tool uses the 16 least significant bits of the CPUID leaf as an
index into its array of CPUID function field descriptions.
However, when that index is non-existent, it uses the same, truncated
index to report it, which is wrong:
$ kcpuid -l 0x80000034
ERR: invalid input index (0x34)
Use the original index number in the error message.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230426094107.27348-1-bp@alien8.de
Diffstat (limited to 'net/can/Makefile')
0 files changed, 0 insertions, 0 deletions