aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMike Travis <[email protected]>2020-11-11 01:04:18 +0000
committerThomas Gleixner <[email protected]>2020-11-12 23:00:31 +0000
commit77c7e1bc060deab6430f1dff5922ccd3093d9776 (patch)
treeb11caf557336ac049a26b8ef440778fa32bd4f59 /fs/proc/array.c
parentx86/platform/uv: Drop last traces of uv_flush_tlb_others (diff)
downloadkernel-77c7e1bc060deab6430f1dff5922ccd3093d9776.tar.gz
kernel-77c7e1bc060deab6430f1dff5922ccd3093d9776.zip
x86/platform/uv: Fix copied UV5 output archtype
A test shows that the output contains a space: # cat /proc/sgi_uv/archtype NSGI4 U/UVX Remove that embedded space by copying the "trimmed" buffer instead of the untrimmed input character list. Use sizeof to remove size dependency on copy out length. Increase output buffer size by one character just in case BIOS sends an 8 character string for archtype. Fixes: 1e61f5a95f19 ("Add and decode Arch Type in UVsystab") Signed-off-by: Mike Travis <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Steve Wahl <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions