Re: [PATCH] x86/platform/uv: UV5 Fix copied output archtype

2020-11-12 Thread Steve Wahl
On Tue, Nov 10, 2020 at 07:04:18PM -0600, Mike Travis wrote: > 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

[PATCH] x86/platform/uv: UV5 Fix copied output archtype

2020-11-10 Thread Mike Travis
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