Re: [PATCH] checkpatch: add NL_SET_ERR_MSG to 80 column exceptions

From: Jakub Kicinski
Date: Fri May 01 2020 - 21:05:00 EST


On Sat, 2 May 2020 00:36:48 +0000 Keller, Jacob E wrote:
> > The ones I specified previously use:
> >
> > NL_SET_ERR_MSG_MOD(extack, "message\n");
> >
> > where all the others uses are:
> >
> > NL_SET_ERR_MSG_MOD(extack, "message");
> >
> > without the \n termination of the message.
> >
>
> I see. Yea, I think the trailing newline isn't needed, but I'm not sure.

Yup, there should be no new line at the end of an extack message.