Re: [PATCH v1] kernel: auditsc: Removes use of assignment in if condition and moves open brace following function definitions to the next line.

From: Atul Kumar Pant
Date: Tue Aug 15 2023 - 22:59:39 EST


On Tue, Aug 15, 2023 at 06:14:25PM -0400, Paul Moore wrote:
> On Tue, Aug 15, 2023 at 6:10 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> >
> > On Aug 15, 2023 Atul Kumar Pant <atulpant.linux@xxxxxxxxx> wrote:
> > >
> > > The patch fixes following checkpatch.pl issue:
> > > ERROR: open brace '{' following function definitions go on the next line
> > > ERROR: do not use assignment in if condition
> > >
> > > Signed-off-by: Atul Kumar Pant <atulpant.linux@xxxxxxxxx>
> > > ---
> > > kernel/auditsc.c | 6 ++++--
> > > 1 file changed, 4 insertions(+), 2 deletions(-)
> >
> > Merged into audit/next, thanks.
>
> I also wanted to say that I changed the subject line to "audit:
> cleanup function braces and assignment-in-if-condition", what you had
> written was far too long for a subject line. A subject line should be
> brief and does not need to be a full sentence, in fact it probably
> should *not* be a full sentence.
>
Thank you for the comments. I agree with your point on subject line
and will follow your advice in my next patches.

> --
> paul-moore.com