diff options
author | Stafford Horne <shorne@gmail.com> | 2023-08-20 19:11:39 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2023-08-21 10:15:18 +0300 |
commit | 8d4a142904f07765b7c7c46abf71f811a0811987 (patch) | |
tree | 325ec41a56fa0cc3163f840f8e248819ba7430e6 /crypto/pcrypt.c | |
parent | af1fc7402e560f27ea5a92b7ee0572e3d1e389c5 (diff) | |
download | linux-8d4a142904f07765b7c7c46abf71f811a0811987.tar.xz |
openrisc: Add prototype for show_registers to processor.h
When compiling with W=1 enabling -Wmissing-prototypes the compiler
warns:
arch/openrisc/kernel/traps.c:67:6: error: no previous prototype for 'show_registers' [-Werror=missing-prototypes]
Fix by adding the prototype to the appropriate header file and including
the header file in the appropriate C files.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Closes: https://lore.kernel.org/linux-kernel/20230810141947.1236730-17-arnd@kernel.org/
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions