]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: Fix "no previous prototype" compile warning in kgdb.c file
authorVincent Chen <vincent.chen@sifive.com>
Tue, 23 Jun 2020 05:37:10 +0000 (13:37 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 10 Jul 2020 03:09:30 +0000 (20:09 -0700)
commitf7fc752815f8e2337548497b3afb4aef791db4ef
tree6a0fb12af7dfcdb5083b7bbc9c8b5e812a8b29b2
parentfc0c769ffd926312848912a7c2296e1c503898c3
riscv: Fix "no previous prototype" compile warning in kgdb.c file

Some functions are only used in the kgdb.c file. Add static properities
to these functions to avoid "no previous prototype" compile warnings

Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/kgdb.c