All of lore.kernel.org
 help / color / mirror / Atom feed
* + checkpatch-do-not-check-missing-blank-line-before-builtin__driver.patch added to -mm tree
@ 2017-11-08 23:32 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-08 23:32 UTC (permalink / raw)
  To: yamada.masahiro, joe, mm-commits


The patch titled
     Subject: checkpatch: do not check missing blank line before builtin_*_driver
has been added to the -mm tree.  Its filename is
     checkpatch-do-not-check-missing-blank-line-before-builtin__driver.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/checkpatch-do-not-check-missing-blank-line-before-builtin__driver.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/checkpatch-do-not-check-missing-blank-line-before-builtin__driver.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/SubmitChecklist when testing your code ***

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

------------------------------------------------------
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: checkpatch: do not check missing blank line before builtin_*_driver

checkpatch.pl does not check missing blank line before module_*_driver.
I want it to behave likewise for builtin_*_driver.

Link: http://lkml.kernel.org/r/1505700081-12854-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 scripts/checkpatch.pl |    1 +
 1 file changed, 1 insertion(+)

diff -puN scripts/checkpatch.pl~checkpatch-do-not-check-missing-blank-line-before-builtin__driver scripts/checkpatch.pl
--- a/scripts/checkpatch.pl~checkpatch-do-not-check-missing-blank-line-before-builtin__driver
+++ a/scripts/checkpatch.pl
@@ -3105,6 +3105,7 @@ sub process {
 		      $line =~ /^\+[a-z_]*init/ ||
 		      $line =~ /^\+\s*(?:static\s+)?[A-Z_]*ATTR/ ||
 		      $line =~ /^\+\s*DECLARE/ ||
+		      $line =~ /^\+\s*builtin_[\w_]*driver/ ||
 		      $line =~ /^\+\s*__setup/)) {
 			if (CHK("LINE_SPACING",
 				"Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) &&
_

Patches currently in -mm which might be from yamada.masahiro@socionext.com are

bitfieldh-include-linux-build_bugh-instead-of-linux-bugh.patch
radix-tree-remove-unneeded-include-linux-bugh.patch
checkpatch-do-not-check-missing-blank-line-before-builtin__driver.patch
init-version-include-linux-exporth-instead-of-linux-moduleh.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-08 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-08 23:32 + checkpatch-do-not-check-missing-blank-line-before-builtin__driver.patch added to -mm tree akpm

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.