Re: [PATCH v2 8/9] ACPI, APEI,CPER: Cleanup CPER memory error output format

From: Mauro Carvalho Chehab
Date: Thu Oct 17 2013 - 06:27:49 EST


Em Wed, 16 Oct 2013 19:24:10 +0200
Borislav Petkov <bp@xxxxxxxxx> escreveu:

> On Wed, Oct 16, 2013 at 10:56:05AM -0400, Chen, Gong wrote:
> > Keep up only the most important fields for memory error
> > reporting. The detail information will be moved to perf/trace
> > interface.
> >
> > Suggested-by: Tony Luck <tony.luck@xxxxxxxxx>
> > Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>

Considering the suggested fixes below:

Reviewed-by: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>

> > ---
> > drivers/acpi/apei/cper.c | 69 +++++++++++++++++++++++-------------------------
> > 1 file changed, 33 insertions(+), 36 deletions(-)
> >
> > diff --git a/drivers/acpi/apei/cper.c b/drivers/acpi/apei/cper.c
> > index b1a8a55..f5bc227 100644
> > --- a/drivers/acpi/apei/cper.c
> > +++ b/drivers/acpi/apei/cper.c
> > @@ -33,6 +33,9 @@
> > #include <linux/pci.h>
> > #include <linux/aer.h>
> >
> > +#define INDENT_SP " "
> > +#define HW_CE_INFO \
> > + "Above error has been corrected by h/w and no further action required"
>
> Leftover?
>
>
> > + if (severity != CPER_SEV_FATAL)
> > + printk("%s%s\n", pfx,
> > + "Above error has been corrected by h/w "
> > + "and require no further action");
>
> Let's write it out and correct grammar:
>
> "Above error has been corrected by the hardware and requires no further action."
>
> Thanks.
>


--

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/