]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-fold-mlocked_vma_newpage-into-its-only-call-site-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:43:15 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:15 +0000 (10:43 +1000)
WARNING: line over 80 characters
#90: FILE: mm/rmap.c:1040:
+  * pte lock is held(spinlock), which implies preemption disabled.

total: 0 errors, 1 warnings, 69 lines checked

./patches/mm-use-a-light-weight-__mod_zone_page_state-in-mlocked_vma_newpage.patch has style problems, please review.

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

Please run checkpatch prior to sending patches

Cc: Jianyu Zhan <nasa4836@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c

index c88a087916debc04282cb715cd4d6e52d7de6d67..3333baab6ecedf8d730663f4b80d67bfdb1d07f4 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -1036,9 +1036,9 @@ void page_add_new_anon_rmap(struct page *page,
 
        if (!TestSetPageMlocked(page)) {
                /*
-                * We use the irq-unsafe __mod_zone_page_stat because
-                * this counter is not modified from interrupt context, and the
-                * pte lock is held(spinlock), which implies preemption disabled.
+                * We use the irq-unsafe __mod_zone_page_stat because this
+                * counter is not modified from interrupt context, and the pte
+                * lock is held(spinlock), which implies preemption disabled.
                 */
                __mod_zone_page_state(page_zone(page), NR_MLOCK,
                                    hpage_nr_pages(page));