Hi, On Fri, Jun 30, 2023 at 1:12 PM Daniel Thompson <[email protected]> wrote: > > kdb_send_sig() is defined in the signal code and called from kdb, > but the declaration is part of the kdb internal code. > Move the declaration to the shared header to avoid the warning: > > kernel/signal.c:4789:6: error: no previous prototype for 'kdb_send_sig' > [-Werror=missing-prototypes] > > Reported-by: Arnd Bergmann <[email protected]>
FWIW: these days, I think checkpatch yells at you for a bare "Reported-by" like above. It ideally wants a "Closes" tag to follow immediately with a link to the report, or in the very least a "Link" tag if this doesn't fully address the issue. > Signed-off-by: Daniel Thompson <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
