Skip to content

Commit 08767a2

Browse files
kuba-mooPaolo Abeni
authored andcommitted
docs: netdev: broaden the new vs old code formatting guidelines
Convert the "should I use new or old comment formatting" to cover all formatting. This makes the question itself shorter. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 99eba4e commit 08767a2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Documentation/networking/netdev-FAQ.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ it is requested that you make it look like this::
183183
* another line of text
184184
*/
185185

186-
I am working in existing code that has the former comment style and not the latter. Should I submit new code in the former style or the latter?
187-
-----------------------------------------------------------------------------------------------------------------------------------------------
188-
Make it the latter style, so that eventually all code in the domain
189-
of netdev is of this format.
186+
I am working in existing code which uses non-standard formatting. Which formatting should I use?
187+
------------------------------------------------------------------------------------------------
188+
Make your code follow the most recent guidelines, so that eventually all code
189+
in the domain of netdev is in the preferred format.
190190

191191
I found a bug that might have possible security implications or similar. Should I mail the main netdev maintainer off-list?
192192
---------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)