lkml.org 
[lkml]   [2020]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] checkpatch: add NL_SET_ERR_MSG to 80 column exceptions
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.

\
 
 \ /
  Last update: 2020-05-02 03:05    [W:0.973 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site