[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mhng-7bb6277d-bca5-4cd0-a791-3fa2b9891f69@palmerdabbelt-glaptop1>
Date: Sat, 25 Jul 2020 11:24:45 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: zong.li@...ive.com
CC: Paul Walmsley <paul.walmsley@...ive.com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
zong.li@...ive.com
Subject: Re: [PATCH 0/2] Fix some build warnings when W=1
On Wed, 15 Jul 2020 23:15:25 PDT (-0700), zong.li@...ive.com wrote:
> These patches fix some build warnings when W=1, the most of warnings are
> missing prototype as follows:
>
> arch/riscv/mm/init.c:520:13: warning: no previous prototype for 'resource_init' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:130:5: warning: no previous prototype for 'set_memory_ro' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:136:5: warning: no previous prototype for 'set_memory_rw' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:142:5: warning: no previous prototype for 'set_memory_x' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:147:5: warning: no previous prototype for 'set_memory_nx' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:152:5: warning: no previous prototype for 'set_direct_map_invalid_noflush' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:169:5: warning: no previous prototype for 'set_direct_map_default_noflush' [-Wmissing-prototypes]
> arch/riscv/mm/pageattr.c:97:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
>
> Zong Li (2):
> riscv: Fix build warning for mm/init
> riscv: fix build warning of mm/pageattr
>
> arch/riscv/mm/init.c | 2 +-
> arch/riscv/mm/pageattr.c | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
Thanks, these are on for-next.
Powered by blists - more mailing lists