Re: [PATCH 2/6] x86: Limit the number of per cpu MCE bootup messages

Mike Travis
2009-11-16T21:35:26Z

Ingo Molnar wrote:
> * Mike Travis <travis@sgi.com> wrote:
>
>> @@ -83,6 +86,7 @@
>> unsigned long flags;
>> int hdr = 0;
>> int i;
>> + char buf[120];
>
> that constant is not particularly nice, is it?
>
> Ingo

I'm up for suggestions. I just noticed that during testing, the
MCE Banks messages overflowed 80 chars but I didn't actually
check to see what the longest might be.

Should I trim it to 80? Or use a different constant?

Thanks,
Mike