Messages in this thread | | | Date | Mon, 18 May 2015 22:36:00 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86, cpuinfo fix cpu_data(0) x86_model_id field truncation |
| |
On Mon, May 18, 2015 at 04:27:02PM -0400, Brian Gerst wrote: > The problem here is that strim() modifies the string in place, > replacing the first trailing space with a null. I think the best > solution is to do the trimming in get_model_name(). It already trims > leading spaces for Intel.
Sounds good - start from the 48th position forward to the first non \s char. Yeah.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |