+ mm-add-generic-ptdump-v15-fix.patch added to -mm tree

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

 



The patch titled
     Subject: mm/ptdump: fix a -Wold-style-declaration warning
has been added to the -mm tree.  Its filename is
     mm-add-generic-ptdump-v15-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-add-generic-ptdump-v15-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-generic-ptdump-v15-fix.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: Qian Cai <cai@xxxxxx>
Subject: mm/ptdump: fix a -Wold-style-declaration warning

The -next commit "mm: add generic ptdump" [1] introduced a GCC
compilation warning,

mm/ptdump.c:123:1: warning: 'static' is not at beginning of declaration
[-Wold-style-declaration]
 const static struct mm_walk_ops ptdump_ops = {
 ^~~~~

[1] http://lkml.kernel.org/r/20191028135910.33253-20-steven.price@xxxxxxx

Link: http://lkml.kernel.org/r/1572895385-29194-1-git-send-email-cai@xxxxxx
Signed-off-by: Qian Cai <cai@xxxxxx>
Cc: Steven Price <steven.price@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/ptdump.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/ptdump.c~mm-add-generic-ptdump-v15-fix
+++ a/mm/ptdump.c
@@ -120,7 +120,7 @@ static int ptdump_hole(unsigned long add
 	return 0;
 }
 
-const static struct mm_walk_ops ptdump_ops = {
+static const struct mm_walk_ops ptdump_ops = {
 	.pgd_entry	= ptdump_pgd_entry,
 	.p4d_entry	= ptdump_p4d_entry,
 	.pud_entry	= ptdump_pud_entry,
_

Patches currently in -mm which might be from cai@xxxxxx are

z3fold-add-inter-page-compaction-fix.patch
hugetlb-remove-unused-hstate-in-hugetlb_fault_mutex_hash-fix-fix.patch
mm-add-generic-ptdump-v15-fix.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