[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] CODING_STYLE: Define our preferr
From: |
Peter Maydell |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] CODING_STYLE: Define our preferred form for multiline comments |
Date: |
Thu, 7 Jun 2018 14:25:52 +0100 |
On 7 June 2018 at 13:40, Stefan Hajnoczi <address@hidden> wrote:
> On Mon, Jun 04, 2018 at 07:17:56PM -0600, Alex Williamson wrote:
>> Note that the kernel coding style, except for certain exceptions, is:
>>
>> /*
>> * This is a
>> * multi-line
>> * comment
>> */
>
> Amen, the one true way. :-)
OK, consensus seems to be for recommending the kernel-style for
multiline comments.
Does anybody who knows checkpatch feel like they could write a
checkpatch check for this? (Unfortunately there isn't one in
the kernel's checkpatch script either, as I found out when I
last wrote a kernel patch and got dinged for not putting that
first blank line in...)
thanks
-- PMM