diff options
| author | Marc Zyngier <maz@kernel.org> | 2024-01-22 18:13:37 +0000 |
|---|---|---|
| committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-08 15:12:44 +0000 |
| commit | d42bf63fd4db20e1a7a414c2ebe257a81c8c7d6e (patch) | |
| tree | 51643fb3ef427dbc9a29ad1aadc869f552705e6a /include/linux/fpga/fpga-bridge.h | |
| parent | d9a065914dccce0bbd967cdef1ec21b4de545daf (diff) | |
arm64: cpufeature: Correctly display signed override values
When a field gets overriden, the kernel indicates the result of
the override in dmesg. This works well with unsigned fields, but
results in a pretty ugly output when the field is signed.
Truncate the field to its width before displaying it.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240122181344.258974-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
