Re: [PATCH v1] kernel: auditsc: Removes use of assignment in if condition and moves open brace following function definitions to the next line.
From: Paul Moore
Date: Tue Aug 15 2023 - 18:15:33 EST
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.
--
paul-moore.com