]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-hugetlb-include-hugepages-in-meminfo-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Mar 2013 23:24:42 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:11 +0000 (18:29 +1100)
ERROR: code indent should use tabs where possible
#64: FILE: mm/hugetlb.c:2132:
+^I^I        ^Inid,$

WARNING: please, no space before tabs
#64: FILE: mm/hugetlb.c:2132:
+^I^I        ^Inid,$

total: 1 errors, 1 warnings, 52 lines checked

NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
      scripts/cleanfile

./patches/mm-hugetlb-include-hugepages-in-meminfo.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: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c

index 406ce411792b1b0ec19039dac61130f7bbc3a86b..bacdf38800d63eaa649a2ebb327ae048742a6273 100644 (file)
@@ -2129,7 +2129,7 @@ void hugetlb_show_meminfo(void)
        for_each_node_state(nid, N_MEMORY)
                for_each_hstate(h)
                        pr_info("Node %d hugepages_total=%u hugepages_free=%u hugepages_surp=%u hugepages_size=%lukB\n",
-                               nid,
+                               nid,
                                h->nr_huge_pages_node[nid],
                                h->free_huge_pages_node[nid],
                                h->surplus_huge_pages_node[nid],