diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-30 07:25:04 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-03-31 11:49:39 +0300 |
commit | 08767a26f095909423f963c864f15db50c0ce9a7 (patch) | |
tree | cd89dcbe5de7653efee1e6787f258ba87b5a1401 /Documentation/networking | |
parent | 99eba4e5cbd462db47dcb949af6d5474acdac953 (diff) | |
download | linux-08767a26f095909423f963c864f15db50c0ce9a7.tar.xz |
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>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/netdev-FAQ.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/networking/netdev-FAQ.rst b/Documentation/networking/netdev-FAQ.rst index a18e4e671e85..c456b5225d66 100644 --- a/Documentation/networking/netdev-FAQ.rst +++ b/Documentation/networking/netdev-FAQ.rst @@ -183,10 +183,10 @@ it is requested that you make it look like this:: * another line of text */ -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? ------------------------------------------------------------------------------------------------------------------------------------------------ -Make it the latter style, so that eventually all code in the domain -of netdev is of this format. +I am working in existing code which uses non-standard formatting. Which formatting should I use? +------------------------------------------------------------------------------------------------ +Make your code follow the most recent guidelines, so that eventually all code +in the domain of netdev is in the preferred format. I found a bug that might have possible security implications or similar. Should I mail the main netdev maintainer off-list? --------------------------------------------------------------------------------------------------------------------------- |