Hi, On Wed, Sep 9, 2020 at 2:20 PM Wei Yongjun <weiyongj...@huawei.com> wrote: > > gcc report build warning as follows: > > arch/riscv/mm/fault.c:81:1: warning: > 'inline' is not at beginning of declaration [-Wold-style-declaration] > 81 | static void inline vmalloc_fault(struct pt_regs *regs, int code, > unsigned long addr) > | ^~~~~~ > > This commit fix it by moving 'inline' after 'static'. > > Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
Thanks for the fix, but Palmer committed similar fix from me to for-next: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit/?h=for-next&id=6f36a9635082e1d6910bc7853d0c9fd12d7890b5 - Pekka