Home
last modified time | relevance | path

Searched hist:"8 d4a142904f07765b7c7c46abf71f811a0811987" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/openrisc/include/asm/
H A Dprocessor.hdiff 8d4a142904f07765b7c7c46abf71f811a0811987 Sun Aug 20 11:11:39 CDT 2023 Stafford Horne <shorne@gmail.com> 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>
/openbmc/linux/arch/openrisc/kernel/
H A Dtraps.cdiff 8d4a142904f07765b7c7c46abf71f811a0811987 Sun Aug 20 11:11:39 CDT 2023 Stafford Horne <shorne@gmail.com> 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>
H A Dprocess.cdiff 8d4a142904f07765b7c7c46abf71f811a0811987 Sun Aug 20 11:11:39 CDT 2023 Stafford Horne <shorne@gmail.com> 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>