[PATCH] riscv: Fixed kernel test robot warning

Andreas Schwab schwab at linux-m68k.org
Tue Dec 8 14:51:10 EST 2020


On Dez 09 2020, Souptick Joarder wrote:

> Kernel test robot throws below warning -
>
>    arch/riscv/kernel/asm-offsets.c:14:6: warning: no previous prototype
> for 'asm_offsets' [-Wmissing-prototypes]
>       14 | void asm_offsets(void)
>          |      ^~~~~~~~~~~
>
> This patch should fixed it.

Or rename it to main, like most other asm-offsets files.

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the linux-riscv mailing list