diff options
author | Stafford Horne <[email protected]> | 2023-08-20 17:02:55 +0100 |
---|---|---|
committer | Stafford Horne <[email protected]> | 2023-08-21 08:12:11 +0100 |
commit | af1fc7402e560f27ea5a92b7ee0572e3d1e389c5 (patch) | |
tree | 6b004e61bffe4adae8095cae6ce095c0bafc16e3 /arch/openrisc/mm/fault.c | |
parent | 1c4de499e6134ecb048bbd80133b213c705de3e5 (diff) |
openrisc: Declare do_signal function as static
When compiling with W=1 enabling -Wmissing-prototypes the compiler
warns:
arch/openrisc/kernel/signal.c:227:5: error: no previous prototype for 'do_signal' [-Werror=missing-prototypes]
Fix this by declaring the function a static as it is not used outside of
the scope of this file.
Reported-by: Arnd Bergmann <[email protected]>
Closes: https://lore.kernel.org/linux-kernel/[email protected]/
Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'arch/openrisc/mm/fault.c')
0 files changed, 0 insertions, 0 deletions