[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE1WUT5pXOH=wjzcXBZ4YiFoVv6Xyb1sT5mxdm=NR1A1MqKgjw@mail.gmail.com>
Date: Sat, 6 Feb 2021 09:09:19 -0800
From: Amy Parker <enbyamy@...il.com>
To: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
Cc: schnelle@...ux.ibm.com, corbet@....net, mchehab+huawei@...nel.org,
tsbogend@...ha.franken.de, linux-ia64@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ia64: Fix style guide breakage
On Sat, Feb 6, 2021 at 8:07 AM John Paul Adrian Glaubitz
<glaubitz@...sik.fu-berlin.de> wrote:
>
> Hi Amy!
>
> On 2/5/21 11:06 PM, Amy Parker wrote:
> > Some statements do not have proper spacing between their C
> > keywords (commonly if and for) throughout files in the ia64 tree.
> > This patch corrects this to follow the kernel code style guide.
> >
> > Signed-off-by: Amy Parker <enbyamy@...il.com>
>
> I never noticed. Does the kernel coding style guideline actually require
> space after "for" and "if" and similar statements but not before function
> names?
Yes it does, actually!
> So use a space after these keywords:
> if, switch, case, for, do, while
> int system_is_up(void)
> {
> return system_state == SYSTEM_RUNNING;
> }
-Amy IP
Powered by blists - more mailing lists