Skip to contentSkip to conversation

hwmon: submitting-patches: Add note on comment style

PATCH New Guenter Roeck 1 participant 1 message Sep 13, 2019

Subsystems (2)
lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 1/1 hwmon: submitting-patches: Add note on comment style

Ask for standard multi-line comments, and ask for consistent comment style.

---
 Documentation/hwmon/submitting-patches.rst | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/hwmon/submitting-patches.rst +4 -0
index 6b73dba32b89..9a218ea996d8 100644
@@ -20,6 +20,10 @@ increase the chances of your change being accepted.
   errors, no warnings, and few if any check messages. If there are any
   messages, please be prepared to explain.
 
+* Please use the standard multi-line comment style. Do not mix C and C++
+  style comments in a single driver (with the exception of the SPDX license
+  identifier).
+
 * If your patch generates checkpatch errors, warnings, or check messages,
   please refrain from explanations such as "I prefer that coding style".
   Keep in mind that each unnecessary message helps hiding a real problem,
Signature · 1 line
2.7.4