Commit d1a2b3ff authored by Qian Cai's avatar Qian Cai Committed by Stephen Rothwell
Browse files

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@arm.com

Link: http://lkml.kernel.org/r/1572895385-29194-1-git-send-email-cai@lca.pw


Signed-off-by: default avatarQian Cai <cai@lca.pw>
Cc: Steven Price <steven.price@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent 46d5764e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment