From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/4] doc: codingstyle: Remove comment about '//' style comments
Date: Mon, 27 Jun 2022 13:17:21 -0400 [thread overview]
Message-ID: <20220627171722.1153337-4-trini@konsulko.com> (raw)
In-Reply-To: <20220627171722.1153337-1-trini@konsulko.com>
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@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:
--
2.25.1
next prev parent reply other threads:[~2022-06-27 17:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 17:17 [PATCH 0/4] Migrate some wiki pages to sphinx Tom Rini
2022-06-27 17:17 ` [PATCH 1/4] doc: Migrate CodingStyle wiki page " Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-09 6:15 ` Heinrich Schuchardt
2022-07-09 6:12 ` Heinrich Schuchardt
2022-07-09 12:32 ` Tom Rini
2022-07-09 12:36 ` Tom Rini
2022-06-27 17:17 ` [PATCH 2/4] doc: Migrate DesignPrinciples " Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-08 7:22 ` Claudius Heine
2022-07-09 6:37 ` Heinrich Schuchardt
2022-07-09 12:39 ` Tom Rini
2022-06-27 17:17 ` Tom Rini [this message]
2022-06-30 10:06 ` [PATCH 3/4] doc: codingstyle: Remove comment about '//' style comments Simon Glass
2022-07-09 6:40 ` Heinrich Schuchardt
2022-06-27 17:17 ` [PATCH 4/4] doc: Migrate Process wiki page to sphinx Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-08 7:06 ` Claudius Heine
2022-07-08 7:22 ` Martin Bonner
2022-07-08 17:44 ` Tom Rini
2022-07-09 6:55 ` Heinrich Schuchardt
2022-07-09 12:41 ` Tom Rini
2022-07-09 15:02 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220627171722.1153337-4-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.