mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] support-resetting-warn_once-checkpatch-fixes.patch removed from -mm tree
@ 2017-11-17 23:11 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-17 23:11 UTC (permalink / raw)
  To: akpm, ak, mm-commits


The patch titled
     Subject: support-resetting-warn_once-checkpatch-fixes
has been removed from the -mm tree.  Its filename was
     support-resetting-warn_once-checkpatch-fixes.patch

This patch was dropped because it was folded into support-resetting-warn_once.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: support-resetting-warn_once-checkpatch-fixes

ERROR: code indent should use tabs where possible
#124: FILE: kernel/panic.c:604:
+                        clear_warn_once_set,$

WARNING: please, no spaces at the start of a line
#124: FILE: kernel/panic.c:604:
+                        clear_warn_once_set,$

ERROR: code indent should use tabs where possible
#125: FILE: kernel/panic.c:605:
+^I^I        "%lld\n");$

WARNING: please use device_initcall() or more appropriate function instead of __initcall() (see include/linux/init.h)
#135: FILE: kernel/panic.c:615:
+__initcall(register_warn_debugfs);

total: 2 errors, 2 warnings, 87 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

NOTE: Whitespace errors detected.
      You may wish to use scripts/cleanpatch or scripts/cleanfile

./patches/support-resetting-warn_once.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/panic.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff -puN kernel/panic.c~support-resetting-warn_once-checkpatch-fixes kernel/panic.c
--- a/kernel/panic.c~support-resetting-warn_once-checkpatch-fixes
+++ a/kernel/panic.c
@@ -601,8 +601,8 @@ static int clear_warn_once_set(void *dat
 
 DEFINE_SIMPLE_ATTRIBUTE(clear_warn_once_fops,
 			NULL,
-                        clear_warn_once_set,
-		        "%lld\n");
+			clear_warn_once_set,
+			"%lld\n");
 
 static __init int register_warn_debugfs(void)
 {
@@ -612,7 +612,7 @@ static __init int register_warn_debugfs(
 	return 0;
 }
 
-__initcall(register_warn_debugfs);
+device_initcall(register_warn_debugfs);
 #endif
 
 #ifdef CONFIG_CC_STACKPROTECTOR
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

support-resetting-warn_once.patch
support-resetting-warn_once-for-all-architectures-v2-fix.patch
support-resetting-warn_once-for-all-architectures-v2-fix-fix.patch
support-resetting-warn_once-for-all-architectures-v2-fix-fix-fix.patch
kernel-reboot-add-devm_register_reboot_notifier-fix.patch
watchdog-core-make-use-of-devm_register_reboot_notifier-fix.patch
sysvipc-unteach-ids-next_id-for-checkpoint_restore-checkpatch-fixes.patch
sysvipc-make-get_maxid-o1-again-checkpatch-fixes.patch


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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17 23:11 [folded-merged] support-resetting-warn_once-checkpatch-fixes.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).