[PATCH 3/4] doc: codingstyle: Remove comment about '//' style comments

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Jul 9 08:40:20 CEST 2022


On 6/27/22 19:17, Tom Rini wrote:
> For some time now we've allowed for '//' style comments, which mirrors
> the Linux kernel.  So drop this point here.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>   doc/develop/codingstyle.rst | 5 -----
>   1 file changed, 5 deletions(-)
>
> diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst
> index a41aed2764fb..bdf1efc6019a 100644
> --- a/doc/develop/codingstyle.rst
> +++ b/doc/develop/codingstyle.rst
> @@ -29,11 +29,6 @@ The following rules apply:
>     careful consideration, be exempted from these rules. For such files, the
>     original coding style may be kept to ease subsequent migration to newer
>     versions of those sources.
> -* Please note that U-Boot is implemented in C (and to some small parts in
> -  Assembler); no C++ is used, so please do not use C++ style comments (//) in
> -  your code.
> -
> -  * The sole exception here is for SPDX tags in some files (checkpatch.pl will warn you).
>
>   * Please also stick to the following formatting rules:
>

Acked-by: Heinrich Schuchardt <xypron.glpk at gmx.de>


More information about the U-Boot mailing list