Linux EDAC development
 help / color / mirror / Atom feed
* [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings
@ 2026-11-01 23:46 Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 1/8] MIPS: mm/c-octeon: " Randy Dunlap
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

Add missing function prototypes to header files in most cases;
use the header files in the C source files.
In 2 cases, make the functions static so that no prototype is
needed.

v2 changes:
 [PATCH v2 1/8] add more cache prototypes to fix mm/c-octeon build warnings

series:
 [PATCH v2 1/8] MIPS: mm/c-octeon: fix missing function prototype warnings
 [PATCH v2 2/8] MIPS: Octeon: cvmx-helper: fix missing function prototype warning
 [PATCH v2 3/8] MIPS: Octeon: cvmx-interrupt: fix missing function prototype warning
 [PATCH v2 4/8] MIPS: c-octeon: fix missing function prototype warning
 [PATCH v2 5/8] MIPS: Octeon: octeon-platform: fix missing function prototype warning
 [PATCH v2 6/8] MIPS: msi-octeon: fix missing function prototype warning
 [PATCH v2 7/8] MIPS: Octeon: pci: fix missing function prototype warnings
 [PATCH v2 8/8] MIPS: Octeon: octeon.h: fix missing function prototype warning


 arch/mips/cavium-octeon/executive/cvmx-helper-errata.c |    1 +
 arch/mips/cavium-octeon/executive/cvmx-helper.c        |    1 +
 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c |    2 --
 arch/mips/cavium-octeon/setup.c                        |    2 --
 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h          |    1 +
 arch/mips/include/asm/octeon/octeon.h                  |    3 +++
 arch/mips/include/asm/r4kcache.h                       |    5 +++++
 arch/mips/mm/c-octeon.c                                |    1 -
 arch/mips/pci/msi-octeon.c                             |    2 +-
 arch/mips/pci/pci-octeon.c                             |    2 +-
 arch/mips/pci/pcie-octeon.c                            |    2 +-
 drivers/edac/octeon_edac-pc.c                          |    4 +---
 12 files changed, 15 insertions(+), 11 deletions(-)

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Cc: linux-edac@vger.kernel.org
Cc: linux-watchdog@vger.kernel.org

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 1/8] MIPS: mm/c-octeon: fix missing function prototype warnings
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 2/8] MIPS: Octeon: cvmx-helper: fix missing function prototype warning Randy Dunlap
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

Add missing cache function prototypes to <asm/r4kcache.h> and remove
2 local prototypes from the edac driver to eliminate build warnings:

arch/mips/mm/c-octeon.c:297:5: warning: no previous prototype for 'register_co_cache_error_notifier' [-Wmissing-prototypes]
  297 | int register_co_cache_error_notifier(struct notifier_block *nb)
arch/mips/mm/c-octeon.c:303:5: warning: no previous prototype for 'unregister_co_cache_error_notifier' [-Wmissing-prototypes]
  303 | int unregister_co_cache_error_notifier(struct notifier_block *nb)
arch/mips/mm/c-octeon.c:342:17: warning: no previous prototype for 'cache_parity_error_octeon_recoverable' [-Wmissing-prototypes]
  342 | asmlinkage void cache_parity_error_octeon_recoverable(void)
arch/mips/mm/c-octeon.c:351:17: warning: no previous prototype for 'cache_parity_error_octeon_non_recoverable' [-Wmissing-prototypes]
  351 | asmlinkage void cache_parity_error_octeon_non_recoverable(void)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: add the prototypes that I forgot to add (sashiko)

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-edac@vger.kernel.org
Cc: linux-mips@vger.kernel.org

 arch/mips/include/asm/r4kcache.h |    5 +++++
 drivers/edac/octeon_edac-pc.c    |    4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

--- linux-next-20261028.orig/arch/mips/include/asm/r4kcache.h
+++ linux-next-20261028/arch/mips/include/asm/r4kcache.h
@@ -31,6 +31,11 @@ extern int mips_sc_init(void);
 extern void (*r4k_blast_dcache)(void);
 extern void (*r4k_blast_icache)(void);
 
+extern int register_co_cache_error_notifier(struct notifier_block *nb);
+extern int unregister_co_cache_error_notifier(struct notifier_block *nb);
+extern void cache_parity_error_octeon_recoverable(void);
+extern void cache_parity_error_octeon_non_recoverable(void);
+
 /*
  * This macro return a properly sign-extended address suitable as base address
  * for indexed cache operations.  Two issues here:
--- linux-next-20261028.orig/drivers/edac/octeon_edac-pc.c
+++ linux-next-20261028/drivers/edac/octeon_edac-pc.c
@@ -19,9 +19,7 @@
 
 #include <asm/octeon/cvmx.h>
 #include <asm/mipsregs.h>
-
-extern int register_co_cache_error_notifier(struct notifier_block *nb);
-extern int unregister_co_cache_error_notifier(struct notifier_block *nb);
+#include <asm/r4kcache.h>
 
 extern unsigned long long cache_err_dcache[NR_CPUS];
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 2/8] MIPS: Octeon: cvmx-helper: fix missing function prototype warning
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 1/8] MIPS: mm/c-octeon: " Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 3/8] MIPS: Octeon: cvmx-interrupt: " Randy Dunlap
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

The missing function prototype is already in cvmx-helper-errata.h.
Use that header file in cvmx-helper.c and cvmx-helper-errata.c
to eliminate a build warning:

arch/mips/cavium-octeon/executive/cvmx-helper-errata.c:49:6: warning: no previous prototype for '__cvmx_helper_errata_qlm_disable_2nd_order_cdr' [-Wmissing-prototypes]
   49 | void __cvmx_helper_errata_qlm_disable_2nd_order_cdr(int qlm)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 arch/mips/cavium-octeon/executive/cvmx-helper-errata.c |    1 +
 arch/mips/cavium-octeon/executive/cvmx-helper.c        |    1 +
 2 files changed, 2 insertions(+)

--- linux-next-20261028.orig/arch/mips/cavium-octeon/executive/cvmx-helper.c
+++ linux-next-20261028/arch/mips/cavium-octeon/executive/cvmx-helper.c
@@ -42,6 +42,7 @@
 #include <asm/octeon/cvmx-spi.h>
 #include <asm/octeon/cvmx-helper.h>
 #include <asm/octeon/cvmx-helper-board.h>
+#include <asm/octeon/cvmx-helper-errata.h>
 
 #include <asm/octeon/cvmx-pip-defs.h>
 #include <asm/octeon/cvmx-asxx-defs.h>
--- linux-next-20261028.orig/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
+++ linux-next-20261028/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
@@ -37,6 +37,7 @@
 
 #include <asm/octeon/octeon.h>
 
+#include <asm/octeon/cvmx-helper-errata.h>
 #include <asm/octeon/cvmx-helper-jtag.h>
 
 /**

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 3/8] MIPS: Octeon: cvmx-interrupt: fix missing function prototype warning
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 1/8] MIPS: mm/c-octeon: " Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 2/8] MIPS: Octeon: cvmx-helper: fix missing function prototype warning Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 4/8] MIPS: c-octeon: " Randy Dunlap
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

Add the missing interrupt function prototype to <asm/octeon/cvmx-gmxx-defs.h>
and remove the local prototype from cvmx-interrupt-rsl.c to eliminate
a build warning:

arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:53:6: warning: no previous prototype for '__cvmx_interrupt_gmxx_rxx_int_en_enable' [-Wmissing-prototypes]
   53 | void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c |    2 --
 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h          |    1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-next-20261028.orig/arch/mips/include/asm/octeon/cvmx-gmxx-defs.h
+++ linux-next-20261028/arch/mips/include/asm/octeon/cvmx-gmxx-defs.h
@@ -339,6 +339,7 @@ static inline uint64_t CVMX_GMXX_TX_XAUI
 }
 
 void __cvmx_interrupt_gmxx_enable(int interface);
+void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block);
 
 union cvmx_gmxx_hg2_control {
 	uint64_t u64;
--- linux-next-20261028.orig/arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c
+++ linux-next-20261028/arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c
@@ -39,8 +39,6 @@
 #define PRINT_ERROR(format, ...)
 #endif
 
-void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block);
-
 /**
  * Enable ASX error interrupts that exist on CN3XXX, CN50XX, and
  * CN58XX.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 4/8] MIPS: c-octeon: fix missing function prototype warning
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
                   ` (2 preceding siblings ...)
  2026-11-01 23:46 ` [PATCH v2 3/8] MIPS: Octeon: cvmx-interrupt: " Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 5/8] MIPS: Octeon: octeon-platform: " Randy Dunlap
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

Add the missing IPI function prototype to <asm/octeon/octeon.h> and
remove the local prototype from mm/c-octeon.c to eliminate a build warning:

arch/mips/cavium-octeon/smp.c:100:6: warning: no previous prototype for 'octeon_send_ipi_single' [-Wmissing-prototypes]
  100 | void octeon_send_ipi_single(int cpu, unsigned int action)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 arch/mips/include/asm/octeon/octeon.h |    1 +
 arch/mips/mm/c-octeon.c               |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20261028.orig/arch/mips/mm/c-octeon.c
+++ linux-next-20261028/arch/mips/mm/c-octeon.c
@@ -62,7 +62,6 @@ static void local_octeon_flush_icache_ra
  */
 static void octeon_flush_icache_all_cores(struct vm_area_struct *vma)
 {
-	extern void octeon_send_ipi_single(int cpu, unsigned int action);
 #ifdef CONFIG_SMP
 	int cpu;
 	cpumask_t mask;
--- linux-next-20261028.orig/arch/mips/include/asm/octeon/octeon.h
+++ linux-next-20261028/arch/mips/include/asm/octeon/octeon.h
@@ -298,6 +298,7 @@ static inline void octeon_npi_write32(ui
 
 #ifdef CONFIG_SMP
 void octeon_setup_smp(void);
+void octeon_send_ipi_single(int cpu, unsigned int action);
 #else
 static inline void octeon_setup_smp(void) {}
 #endif

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 5/8] MIPS: Octeon: octeon-platform: fix missing function prototype warning
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
                   ` (3 preceding siblings ...)
  2026-11-01 23:46 ` [PATCH v2 4/8] MIPS: c-octeon: " Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 6/8] MIPS: msi-octeon: " Randy Dunlap
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

Add the missing octeon_fill_mac_addresses() function prototype to
<asm/octeon/octeon.h> and remove the local prototype from setup.c to
eliminate a build warning:

arch/mips/cavium-octeon/octeon-platform.c:701:13: warning: no previous prototype for 'octeon_fill_mac_addresses' [-Wmissing-prototypes]
  701 | void __init octeon_fill_mac_addresses(void)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 arch/mips/cavium-octeon/setup.c       |    2 --
 arch/mips/include/asm/octeon/octeon.h |    1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-next-20261028.orig/arch/mips/include/asm/octeon/octeon.h
+++ linux-next-20261028/arch/mips/include/asm/octeon/octeon.h
@@ -48,6 +48,7 @@ extern void octeon_user_io_init(void);
 extern void octeon_init_cvmcount(void);
 extern void octeon_setup_delays(void);
 extern void octeon_io_clk_delay(unsigned long);
+void __init octeon_fill_mac_addresses(void);
 
 #define OCTEON_ARGV_MAX_ARGS	64
 #define OCTEON_SERIAL_LEN	20
--- linux-next-20261028.orig/arch/mips/cavium-octeon/setup.c
+++ linux-next-20261028/arch/mips/cavium-octeon/setup.c
@@ -1156,8 +1156,6 @@ void __init prom_free_prom_memory(void)
 	}
 }
 
-void __init octeon_fill_mac_addresses(void);
-
 void __init device_tree_init(void)
 {
 	const void *fdt = NULL;

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 6/8] MIPS: msi-octeon: fix missing function prototype warning
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
                   ` (4 preceding siblings ...)
  2026-11-01 23:46 ` [PATCH v2 5/8] MIPS: Octeon: octeon-platform: " Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 7/8] MIPS: Octeon: pci: fix missing function prototype warnings Randy Dunlap
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

octeon_msi_intialize() isn't used outside of this source file so it can
be static to eliminate a build warning:

arch/mips/pci/msi-octeon.c:343:12: warning: no previous prototype for 'octeon_msi_initialize' [-Wmissing-prototypes]
  343 | int __init octeon_msi_initialize(void)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 arch/mips/pci/msi-octeon.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20261028.orig/arch/mips/pci/msi-octeon.c
+++ linux-next-20261028/arch/mips/pci/msi-octeon.c
@@ -340,7 +340,7 @@ OCTEON_MSI_INT_HANDLER_X(3);
 /*
  * Initializes the MSI interrupt handling code
  */
-int __init octeon_msi_initialize(void)
+static int __init octeon_msi_initialize(void)
 {
 	int irq;
 	struct irq_chip *msi;

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 7/8] MIPS: Octeon: pci: fix missing function prototype warnings
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
                   ` (5 preceding siblings ...)
  2026-11-01 23:46 ` [PATCH v2 6/8] MIPS: msi-octeon: " Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-01 23:46 ` [PATCH v2 8/8] MIPS: Octeon: octeon.h: fix missing function prototype warning Randy Dunlap
  2026-11-17 16:09 ` [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Thomas Bogendoerfer
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

The octeon_pci[e]_pcibios_map_irq() functions are not used outside of
their source files, so they can be static to eliminate build warnings:

arch/mips/pci/pci-octeon.c:234:12: warning: no previous prototype for 'octeon_pci_pcibios_map_irq' [-Wmissing-prototypes]
  234 | int __init octeon_pci_pcibios_map_irq(const struct pci_dev *dev,
arch/mips/pci/pcie-octeon.c:1471:5: warning: no previous prototype for 'octeon_pcie_pcibios_map_irq' [-Wmissing-prototypes]
 1471 | int octeon_pcie_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 arch/mips/pci/pci-octeon.c  |    2 +-
 arch/mips/pci/pcie-octeon.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20261028.orig/arch/mips/pci/pcie-octeon.c
+++ linux-next-20261028/arch/mips/pci/pcie-octeon.c
@@ -1468,7 +1468,7 @@ static int cvmx_pcie_rc_initialize(int p
  *		 as it goes through each bridge.
  * Returns Interrupt number for the device
  */
-int octeon_pcie_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
+static int octeon_pcie_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
 	/*
 	 * The EBH5600 board with the PCI to PCIe bridge mistakenly
--- linux-next-20261028.orig/arch/mips/pci/pci-octeon.c
+++ linux-next-20261028/arch/mips/pci/pci-octeon.c
@@ -231,7 +231,7 @@ const char *octeon_get_pci_interrupts(vo
  *		 as it goes through each bridge.
  * Returns Interrupt number for the device
  */
-int __init octeon_pci_pcibios_map_irq(const struct pci_dev *dev,
+static int __init octeon_pci_pcibios_map_irq(const struct pci_dev *dev,
 				      u8 slot, u8 pin)
 {
 	int irq_num;

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 8/8] MIPS: Octeon: octeon.h: fix missing function prototype warning
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
                   ` (6 preceding siblings ...)
  2026-11-01 23:46 ` [PATCH v2 7/8] MIPS: Octeon: pci: fix missing function prototype warnings Randy Dunlap
@ 2026-11-01 23:46 ` Randy Dunlap
  2026-11-17 16:09 ` [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Thomas Bogendoerfer
  8 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2026-11-01 23:46 UTC (permalink / raw)
  To: patches
  Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips, linux-edac,
	linux-watchdog

Add the missing octeon_wdt_nmi_stage3() function prototype to
<asm/octeon/octeon.h> to eliminate a build warning:

drivers/watchdog/octeon-wdt-main.c:211:6: warning: no previous prototype for 'octeon_wdt_nmi_stage3' [-Wmissing-prototypes]
  211 | void octeon_wdt_nmi_stage3(u64 reg[32])

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: no change

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Cc: linux-watchdog@vger.kernel.org

 arch/mips/include/asm/octeon/octeon.h |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20261028.orig/arch/mips/include/asm/octeon/octeon.h
+++ linux-next-20261028/arch/mips/include/asm/octeon/octeon.h
@@ -49,6 +49,7 @@ extern void octeon_init_cvmcount(void);
 extern void octeon_setup_delays(void);
 extern void octeon_io_clk_delay(unsigned long);
 void __init octeon_fill_mac_addresses(void);
+void octeon_wdt_nmi_stage3(u64 reg[32]);
 
 #define OCTEON_ARGV_MAX_ARGS	64
 #define OCTEON_SERIAL_LEN	20

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings
  2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
                   ` (7 preceding siblings ...)
  2026-11-01 23:46 ` [PATCH v2 8/8] MIPS: Octeon: octeon.h: fix missing function prototype warning Randy Dunlap
@ 2026-11-17 16:09 ` Thomas Bogendoerfer
  8 siblings, 0 replies; 10+ messages in thread
From: Thomas Bogendoerfer @ 2026-11-17 16:09 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: patches, linux-mips, linux-edac, linux-watchdog

On Sun, Nov 01, 2026 at 03:46:49PM -0800, Randy Dunlap wrote:
> Add missing function prototypes to header files in most cases;
> use the header files in the C source files.
> In 2 cases, make the functions static so that no prototype is
> needed.
> 
> v2 changes:
>  [PATCH v2 1/8] add more cache prototypes to fix mm/c-octeon build warnings
> 
> series:
>  [PATCH v2 1/8] MIPS: mm/c-octeon: fix missing function prototype warnings
>  [PATCH v2 2/8] MIPS: Octeon: cvmx-helper: fix missing function prototype warning
>  [PATCH v2 3/8] MIPS: Octeon: cvmx-interrupt: fix missing function prototype warning
>  [PATCH v2 4/8] MIPS: c-octeon: fix missing function prototype warning
>  [PATCH v2 5/8] MIPS: Octeon: octeon-platform: fix missing function prototype warning
>  [PATCH v2 6/8] MIPS: msi-octeon: fix missing function prototype warning
>  [PATCH v2 7/8] MIPS: Octeon: pci: fix missing function prototype warnings
>  [PATCH v2 8/8] MIPS: Octeon: octeon.h: fix missing function prototype warning
> 
> 
>  arch/mips/cavium-octeon/executive/cvmx-helper-errata.c |    1 +
>  arch/mips/cavium-octeon/executive/cvmx-helper.c        |    1 +
>  arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c |    2 --
>  arch/mips/cavium-octeon/setup.c                        |    2 --
>  arch/mips/include/asm/octeon/cvmx-gmxx-defs.h          |    1 +
>  arch/mips/include/asm/octeon/octeon.h                  |    3 +++
>  arch/mips/include/asm/r4kcache.h                       |    5 +++++
>  arch/mips/mm/c-octeon.c                                |    1 -
>  arch/mips/pci/msi-octeon.c                             |    2 +-
>  arch/mips/pci/pci-octeon.c                             |    2 +-
>  arch/mips/pci/pcie-octeon.c                            |    2 +-
>  drivers/edac/octeon_edac-pc.c                          |    4 +---
>  12 files changed, 15 insertions(+), 11 deletions(-)
> 
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: linux-mips@vger.kernel.org
> Cc: linux-edac@vger.kernel.org
> Cc: linux-watchdog@vger.kernel.org

series applied to mips-next

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-11-17 16:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-01 23:46 [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 1/8] MIPS: mm/c-octeon: " Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 2/8] MIPS: Octeon: cvmx-helper: fix missing function prototype warning Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 3/8] MIPS: Octeon: cvmx-interrupt: " Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 4/8] MIPS: c-octeon: " Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 5/8] MIPS: Octeon: octeon-platform: " Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 6/8] MIPS: msi-octeon: " Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 7/8] MIPS: Octeon: pci: fix missing function prototype warnings Randy Dunlap
2026-11-01 23:46 ` [PATCH v2 8/8] MIPS: Octeon: octeon.h: fix missing function prototype warning Randy Dunlap
2026-11-17 16:09 ` [PATCH v2 0/8] MIPS: Octeon: fix missing function prototype warnings Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox