+ coding-style-dont-use-extern-with-function-prototypes.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: Documentation/process/coding-style.rst: don't use "extern" with function prototypes
has been added to the -mm tree.  Its filename is
     coding-style-dont-use-extern-with-function-prototypes.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/coding-style-dont-use-extern-with-function-prototypes.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/coding-style-dont-use-extern-with-function-prototypes.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Subject: Documentation/process/coding-style.rst: don't use "extern" with function prototypes

`extern' with function prototypes makes lines longer and creates more
characters on the screen.

Do not bug people with checkpatch.pl warnings for now as fallout can be
devastating.

Link: http://lkml.kernel.org/r/20181101134153.GA29267@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 Documentation/process/coding-style.rst |    3 +++
 1 file changed, 3 insertions(+)

--- a/Documentation/process/coding-style.rst~coding-style-dont-use-extern-with-function-prototypes
+++ a/Documentation/process/coding-style.rst
@@ -443,6 +443,9 @@ In function prototypes, include paramete
 Although this is not required by the C language, it is preferred in Linux
 because it is a simple way to add valuable information for the reader.
 
+Do not use the `extern' keyword with function prototypes as this makes
+lines longer and isn't strictly necessary.
+
 
 7) Centralized exiting of functions
 -----------------------------------
_

Patches currently in -mm which might be from adobriyan@xxxxxxxxx are

coding-style-dont-use-extern-with-function-prototypes.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux