MIPS: some compilation fixes for the Lantiq platform
Subsystems (5)
cover MIPS: some compilation fixes for the Lantiq platform
This patch series fixes some MIPS Lantiq platform compilation issues found on the 6.12 kernel[1].
[1] https://github.com/openwrt/openwrt/pull/18751
Shiji Yang (16):
MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
MIPS: lantiq: xway: mark dma_init() as static
MIPS: lantiq: xway: mark dcdc_init() as static
MIPS: lantiq: irq: fix misc missing-prototypes warnings
MIPS: lantiq: xway: add prototype for ltq_get_cp1_base()
MIPS: pci: lantiq: marks pcibios_init() as static
MIPS: lantiq: falcon: fix misc missing-prototypes warnings
MIPS: lantiq: falcon: sysctrl: remove unused falcon_trigger_hrst()
MIPS: lantiq: falcon: sysctrl: add missing header prom.h
MIPS: lantiq: falcon: sysctrl: fix request memory check logic
MIPS: lantiq: xway: gptu: mark gptu_init() as static
MIPS: vpe-mt: mark vpe_free() and vpe_stop() as static
MIPS: vpe-mt: drop unused functions vpe_alloc() and vpe_start()
pinctrl: xway: mark xway_pinconf_group_set() as static
pinctrl: falcon: mark pinctrl_falcon_init() as static
spi: falcon: mark falcon_sflash_xfer() as static
.../include/asm/mach-lantiq/xway/lantiq_soc.h | 3 ++ arch/mips/kernel/vpe-mt.c | 35 ++----------------- arch/mips/lantiq/falcon/prom.c | 4 +-- arch/mips/lantiq/falcon/sysctrl.c | 29 ++++++--------- arch/mips/lantiq/irq.c | 3 +- arch/mips/lantiq/xway/clk.c | 2 +- arch/mips/lantiq/xway/dcdc.c | 2 +- arch/mips/lantiq/xway/dma.c | 2 +- arch/mips/lantiq/xway/gptu.c | 2 +- arch/mips/pci/pci-lantiq.c | 2 +- drivers/pinctrl/pinctrl-falcon.c | 2 +- drivers/pinctrl/pinctrl-xway.c | 2 +- drivers/spi/spi-falcon.c | 2 +- 13 files changed, 28 insertions(+), 62 deletions(-)
Signature · 1 line
2.50.0
PATCH 1/16 MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
Fix the following missing-prototypes warning:
arch/mips/lantiq/xway/clk.c:77:15: error: no previous prototype for 'ltq_ar9_sys_hz' [-Werror=missing-prototypes]
77 | unsigned long ltq_ar9_sys_hz(void)
| ^~~~~~~~~~~~~~
--- arch/mips/lantiq/xway/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lantiq/xway/clk.c +1 -1
@@ -74,7 +74,7 @@ unsigned long ltq_danube_pp32_hz(void)return clk; } -unsigned long ltq_ar9_sys_hz (void ) +static unsigned long ltq_ar9_sys_hz (void ) {if (((ltq_cgu_r32 (CGU_SYS ) >>3 ) &0x3 ) ==0x2 )return CLOCK_393M ;
Signature · 1 line
2.50.0
PATCH 2/16 MIPS: lantiq: xway: mark dma_init() as static
In reply to Shiji YangFix the following missing-prototypes build warning:
arch/mips/lantiq/xway/dma.c:293:1: error: no previous prototype for 'dma_init' [-Werror=missing-prototypes]
293 | dma_init(void)
| ^~~~~~~~
--- arch/mips/lantiq/xway/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lantiq/xway/dma.c +1 -1
@@ -289,7 +289,7 @@ static struct platform_driver dma_driver = { }, }; -int __init +static int __init dma_init (void ) {return platform_driver_register (&dma_driver);
Signature · 1 line
2.50.0
PATCH 3/16 MIPS: lantiq: xway: mark dcdc_init() as static
In reply to Shiji YangFix the following missing-prototypes build warning:
arch/mips/lantiq/xway/dcdc.c:49:12: error: no previous prototype for 'dcdc_init' [-Werror=missing-prototypes]
49 | int __init dcdc_init(void)
| ^~~~~~~~~
--- arch/mips/lantiq/xway/dcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lantiq/xway/dcdc.c +1 -1
@@ -46,7 +46,7 @@ static struct platform_driver dcdc_driver = { }, }; -int __init dcdc_init (void ) +static int __init dcdc_init (void ) {int ret =platform_driver_register (&dcdc_driver);
Signature · 1 line
2.50.0
PATCH 4/16 MIPS: lantiq: irq: fix misc missing-prototypes warnings
In reply to Shiji YangFix the following build warnings:
arch/mips/lantiq/irq.c:340:12: error: no previous prototype for 'icu_of_init' [-Werror=missing-prototypes]
340 | int __init icu_of_init(struct device_node *node, struct device_node *parent)
| ^~~~~~~~~~~
arch/mips/lantiq/irq.c:418:5: error: no previous prototype for 'get_c0_perfcount_int' [-Werror=missing-prototypes]
418 | int get_c0_perfcount_int(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/lantiq/irq.c:424:14: error: no previous prototype for 'get_c0_compare_int' [-Werror=missing-prototypes]
424 | unsigned int get_c0_compare_int(void)
| ^~~~~~~~~~~~~~~~~~--- arch/mips/lantiq/irq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/mips/lantiq/irq.c +3 -1
@@ -16,6 +16,7 @@#include <asm/bootinfo.h> #include <asm/irq_cpu.h> +#include <asm/time.h> #include <lantiq_soc.h> #include <irq.h>
@@ -335,7 +336,8 @@ static const struct irq_domain_ops irq_domain_ops = { .map = icu_map, }; -int __init icu_of_init (struct device_node *node,struct device_node *parent) +static int __init +icu_of_init (struct device_node *node,struct device_node *parent) {struct device_node *eiu_node;struct resource res;
Signature · 1 line
2.50.0
PATCH 5/16 MIPS: lantiq: xway: add prototype for ltq_get_cp1_base()
In reply to Shiji Yangltq_get_cp1_base() is an exported function, we must define its prototype on header file. Fix warning:
arch/mips/lantiq/xway/vmmc.c:22:15: error: no previous prototype for 'ltq_get_cp1_base' [-Werror=missing-prototypes]
22 | unsigned int *ltq_get_cp1_base(void)
| ^~~~~~~~~~~~~~~~
--- arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 +++ 1 file changed, 3 insertions(+)
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h +3 -0
@@ -99,5 +99,8 @@ extern __iomem void *ltq_cgu_membase;extern void ltq_pmu_enable (unsigned int module);extern void ltq_pmu_disable (unsigned int module); +/* VMMC */ +extern unsigned int *ltq_get_cp1_base (void ); +#endif /* CONFIG_SOC_TYPE_XWAY */ #endif /* _LTQ_XWAY_H__ */
Signature · 1 line
2.50.0
PATCH 6/16 MIPS: pci: lantiq: marks pcibios_init() as static
In reply to Shiji YangFix the following missing-prototypes build warning:
arch/mips/pci/pci-lantiq.c:239:12: error: no previous prototype for 'pcibios_init' [-Werror=missing-prototypes]
239 | int __init pcibios_init(void)
| ^~~~~~~~~~~~
--- arch/mips/pci/pci-lantiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/pci/pci-lantiq.c +1 -1
@@ -234,7 +234,7 @@ static struct platform_driver ltq_pci_driver = { }, }; -int __init pcibios_init (void ) +static int __init pcibios_init (void ) {int ret =platform_driver_register (<q_pci_driver);if (ret)
Signature · 1 line
2.50.0
PATCH 7/16 MIPS: lantiq: falcon: fix misc missing-prototypes warnings
In reply to Shiji YangFix the following build warnings:
arch/mips/lantiq/falcon/prom.c:39:13: error: no previous prototype for 'ltq_soc_nmi_setup' [-Werror=missing-prototypes]
39 | void __init ltq_soc_nmi_setup(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/lantiq/falcon/prom.c:46:13: error: no previous prototype for 'ltq_soc_ejtag_setup' [-Werror=missing-prototypes]
46 | void __init ltq_soc_ejtag_setup(void)
| ^~~~~~~~~~~~~~~~~~~--- arch/mips/lantiq/falcon/prom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/mips/lantiq/falcon/prom.c +2 -2
@@ -36,14 +36,14 @@#define BOOT_NVEC (BOOT_REG_BASE | 0x04)#define BOOT_EVEC (BOOT_REG_BASE | 0x08) -void __init ltq_soc_nmi_setup (void ) +static void __init ltq_soc_nmi_setup (void ) {extern void (*nmi_handler)(void );ltq_w32 ((unsigned long )&nmi_handler, (void *)BOOT_NVEC ); } -void __init ltq_soc_ejtag_setup (void ) +static void __init ltq_soc_ejtag_setup (void ) {extern void (*ejtag_debug_handler)(void );
Signature · 1 line
2.50.0
PATCH 8/16 MIPS: lantiq: falcon: sysctrl: remove unused falcon_trigger_hrst()
In reply to Shiji YangThis is a defined but unused function. Fix warning:
arch/mips/lantiq/falcon/sysctrl.c:75:6: error: no previous prototype for 'falcon_trigger_hrst' [-Werror=missing-prototypes]
75 | void falcon_trigger_hrst(int level)
| ^~~~~~~~~~~~~~~~~~~
--- arch/mips/lantiq/falcon/sysctrl.c | 5 ----- 1 file changed, 5 deletions(-)
arch/mips/lantiq/falcon/sysctrl.c +0 -5
@@ -72,11 +72,6 @@static void __iomem *sysctl_membase[3 ], *status_membase;void __iomem *ltq_sys1_membase, *ltq_ebu_membase; -void falcon_trigger_hrst (int level) -{ -sysctl_w32 (SYSCTL_SYS1 , level &1 ,SYS1_HRSTOUTC ); -} -static inline void sysctl_wait (struct clk *clk,unsigned int test,unsigned int reg) {
Signature · 1 line
2.50.0
PATCH 9/16 MIPS: lantiq: falcon: sysctrl: add missing header prom.h
In reply to Shiji Yang"prom.h" includes the prototype of ltq_soc_init(). Fix warning:
arch/mips/lantiq/falcon/sysctrl.c:185:13: error: no previous prototype for 'ltq_soc_init' [-Werror=missing-prototypes]
185 | void __init ltq_soc_init(void)
| ^~~~~~~~~~~~
--- arch/mips/lantiq/falcon/sysctrl.c | 1 + 1 file changed, 1 insertion(+)
arch/mips/lantiq/falcon/sysctrl.c +1 -0
@@ -14,6 +14,7 @@#include <lantiq_soc.h> #include "../clk.h" +#include "../prom.h" /* infrastructure control register */ #define SYS1_INFRAC 0x00bc
Signature · 1 line
2.50.0
PATCH 10/16 MIPS: lantiq: falcon: sysctrl: fix request memory check logic
In reply to Shiji Yangrequest_mem_region() will return NULL instead of error code when the memory request fails. Therefore, we should check if the return value is non-zero instead of less than zero. In this way, this patch also fixes the build warnings:
arch/mips/lantiq/falcon/sysctrl.c:214:50: error: ordered comparison of pointer with integer zero [-Werror=extra]
214 | res_status.name) < 0) ||
| ^arch/mips/lantiq/falcon/sysctrl.c:216:47: error: ordered comparison of pointer with integer zero [-Werror=extra]
216 | res_ebu.name) < 0) ||
| ^arch/mips/lantiq/falcon/sysctrl.c:219:50: error: ordered comparison of pointer with integer zero [-Werror=extra]
219 | res_sys[0].name) < 0) ||
| ^arch/mips/lantiq/falcon/sysctrl.c:222:50: error: ordered comparison of pointer with integer zero [-Werror=extra]
222 | res_sys[1].name) < 0) ||
| ^arch/mips/lantiq/falcon/sysctrl.c:225:50: error: ordered comparison of pointer with integer zero [-Werror=extra]
225 | res_sys[2].name) < 0))
|
--- arch/mips/lantiq/falcon/sysctrl.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-)
arch/mips/lantiq/falcon/sysctrl.c +10 -13
@@ -210,19 +210,16 @@ void __init ltq_soc_init(void)of_node_put (np_syseth);of_node_put (np_sysgpe); -if ((request_mem_region (res_status.start,resource_size (&res_status), - res_status.name) <0 ) || - (request_mem_region (res_ebu.start,resource_size (&res_ebu), - res_ebu.name) <0 ) || - (request_mem_region (res_sys[0 ].start, -resource_size (&res_sys[0 ]), - res_sys[0 ].name) <0 ) || - (request_mem_region (res_sys[1 ].start, -resource_size (&res_sys[1 ]), - res_sys[1 ].name) <0 ) || - (request_mem_region (res_sys[2 ].start, -resource_size (&res_sys[2 ]), - res_sys[2 ].name) <0 )) +if ((!request_mem_region (res_status.start,resource_size (&res_status), + res_status.name)) || + (!request_mem_region (res_ebu.start,resource_size (&res_ebu), + res_ebu.name)) || + (!request_mem_region (res_sys[0 ].start,resource_size (&res_sys[0 ]), + res_sys[0 ].name)) || + (!request_mem_region (res_sys[1 ].start,resource_size (&res_sys[1 ]), + res_sys[1 ].name)) || + (!request_mem_region (res_sys[2 ].start,resource_size (&res_sys[2 ]), + res_sys[2 ].name)))pr_err ("Failed to request core resources" ); status_membase = ioremap(res_status.start,
Signature · 1 line
2.50.0
PATCH 11/16 MIPS: lantiq: xway: gptu: mark gptu_init() as static
In reply to Shiji YangFix the following missing-prototypes warning:
arch/mips/lantiq/xway/gptu.c:197:12: error: no previous prototype for 'gptu_init' [-Werror=missing-prototypes]
197 | int __init gptu_init(void)
| ^~~~~~~~~
--- arch/mips/lantiq/xway/gptu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lantiq/xway/gptu.c +1 -1
@@ -194,7 +194,7 @@ static struct platform_driver dma_driver = { }, }; -int __init gptu_init (void ) +static int __init gptu_init (void ) {int ret =platform_driver_register (&dma_driver);
Signature · 1 line
2.50.0
PATCH 12/16 MIPS: vpe-mt: mark vpe_free() and vpe_stop() as static
In reply to Shiji YangThese functions are only used in the current source file "vpe-mt.c". Do not export them and mark them as static to silence the missing prototypes warnings:
arch/mips/kernel/vpe-mt.c:208:5: error: no previous prototype for 'vpe_stop' [-Werror=missing-prototypes]
208 | int vpe_stop(void *vpe)
| ^~~~~~~~
arch/mips/kernel/vpe-mt.c:229:5: error: no previous prototype for 'vpe_free' [-Werror=missing-prototypes]
229 | int vpe_free(void *vpe)
| ^~~~~~~~--- arch/mips/kernel/vpe-mt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
arch/mips/kernel/vpe-mt.c +2 -4
@@ -202,7 +202,7 @@ int vpe_start(void *vpe, unsigned long start)EXPORT_SYMBOL (vpe_start);/* halt it for now */ -int vpe_stop (void *vpe) +static int vpe_stop (void *vpe) {struct vpe *v = vpe;struct tc *t;
@@ -220,10 +220,9 @@ int vpe_stop(void *vpe)return 0 ; } -EXPORT_SYMBOL (vpe_stop);/* I've done with it thank you */ -int vpe_free (void *vpe) +static int vpe_free (void *vpe) {struct vpe *v = vpe;struct tc *t;
@@ -255,7 +254,6 @@ int vpe_free(void *vpe)return 0 ; } -EXPORT_SYMBOL (vpe_free);static ssize_t store_kill (struct device *dev,struct device_attribute *attr,const char *buf,size_t len)
Signature · 1 line
2.50.0
Thomas Bogendoerfer
maintainerRe: [PATCH 12/16] MIPS: vpe-mt: mark vpe_free() and vpe_stop() as static
Quoted 3 lines · Shiji Yang
These functions are only used in the current source file "
vpe-mt.c". Do not export them and mark them as static to silence the missing prototypes warnings:
you are breaking the whole idea of this interface, The functions are exported for other kernel modules. By removing it you break them.
If we know that this interface is unsued, we should remove the whole kernel module, but I don't know if it used somewhere.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
Re: [PATCH 12/16] MIPS: vpe-mt: mark vpe_free() and vpe_stop() as static
Quoted 5 lines · Thomas Bogendoerfer
Quoted 3 lines · Shiji Yang
These functions are only used in the current source file "
vpe-mt.c". Do not export them and mark them as static to silence the missing prototypes warnings:
Quoted 7 lines
you are breaking the whole idea of this interface, The functions are exported for other kernel modules. By removing it you break them.
If we know that this interface is unsued, we should remove the whole kernel module, but I don't know if it used somewhere.
Thomas.
Thank you for your review. It seems that MIPS/Lantiq platform still rely on the vpe-mt module. I've sent another patch to fix these vpe-mt compilation warnings. Suppress patches 12 and 13:
Regards,
Shiji Yang
PATCH 13/16 MIPS: vpe-mt: drop unused functions vpe_alloc() and vpe_start()
In reply to Shiji YangThese two functions are defined but unused. Removing them to silence the missing prototypes warnings:
arch/mips/kernel/vpe-mt.c:180:7: error: no previous prototype for 'vpe_alloc' [-Werror=missing-prototypes]
180 | void *vpe_alloc(void)
| ^~~~~~~~~
arch/mips/kernel/vpe-mt.c:198:5: error: no previous prototype for 'vpe_start' [-Werror=missing-prototypes]
198 | int vpe_start(void *vpe, unsigned long start)
| ^~~~~~~~~--- arch/mips/kernel/vpe-mt.c | 29 ----------------------------- 1 file changed, 29 deletions(-)
arch/mips/kernel/vpe-mt.c +0 -29
@@ -172,35 +172,6 @@ void cleanup_tc(struct tc *tc)local_irq_restore (flags); } -/* module wrapper entry points */ -/* give me a vpe */ -void *vpe_alloc (void ) -{ -int i; -struct vpe *v; - -/* find a vpe */ -for (i =1 ; i <MAX_VPES ; i++) { - v =get_vpe (i); -if (v !=NULL ) { - v->state =VPE_STATE_INUSE ; -return v; - } - } -return NULL ; -} -EXPORT_SYMBOL (vpe_alloc); - -/* start running from here */ -int vpe_start (void *vpe,unsigned long start) -{ -struct vpe *v = vpe; - - v->__start = start; -return vpe_run (v); -} -EXPORT_SYMBOL (vpe_start); -/* halt it for now */ static int vpe_stop (void *vpe) {
Signature · 1 line
2.50.0
PATCH 14/16 pinctrl: xway: mark xway_pinconf_group_set() as static
In reply to Shiji YangFix the following missing-prototypes build warning:
drivers/pinctrl/pinctrl-xway.c:1231:5: error: no previous prototype for 'xway_pinconf_group_set' [-Werror=missing-prototypes]
1231 | int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
| ^~~~~~~~~~~~~~~~~~~~~~
--- drivers/pinctrl/pinctrl-xway.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
drivers/pinctrl/pinctrl-xway.c +5 -4
@@ -1228,10 +1228,11 @@ static int xway_pinconf_set(struct pinctrl_dev *pctldev,return 0 ; } -int xway_pinconf_group_set (struct pinctrl_dev *pctldev, -unsigned selector, -unsigned long *configs, -unsigned num_configs) +static int +xway_pinconf_group_set (struct pinctrl_dev *pctldev, +unsigned selector, +unsigned long *configs, +unsigned num_configs) {struct ltq_pinmux_info *info =pinctrl_dev_get_drvdata (pctldev);int i, ret =0 ;
Signature · 1 line
2.50.0
PATCH 15/16 pinctrl: falcon: mark pinctrl_falcon_init() as static
In reply to Shiji YangFix the following missing-prototypes build warning:
drivers/pinctrl/pinctrl-falcon.c:508:12: error: no previous prototype for 'pinctrl_falcon_init' [-Werror=missing-prototypes]
508 | int __init pinctrl_falcon_init(void)
| ^~~~~~~~~~~~~~~~~~~
--- drivers/pinctrl/pinctrl-falcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/pinctrl-falcon.c +1 -1
@@ -505,7 +505,7 @@ static struct platform_driver pinctrl_falcon_driver = { }, }; -int __init pinctrl_falcon_init (void ) +static int __init pinctrl_falcon_init (void ) {return platform_driver_register (&pinctrl_falcon_driver); }
Signature · 1 line
2.50.0
PATCH 16/16 spi: falcon: mark falcon_sflash_xfer() as static
In reply to Shiji YangFix the following missing-prototypes build warning:
drivers/spi/spi-falcon.c:97:5: error: no previous prototype for 'falcon_sflash_xfer' [-Werror=missing-prototypes]
97 | int falcon_sflash_xfer(struct spi_device *spi, struct spi_transfer *t,
| ^~~~~~~~~~~~~~~~~~
--- drivers/spi/spi-falcon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/spi/spi-falcon.c +3 -2
@@ -94,8 +94,9 @@ struct falcon_sflash {struct spi_controller *host; }; -int falcon_sflash_xfer (struct spi_device *spi,struct spi_transfer *t, -unsigned long flags) +static int +falcon_sflash_xfer (struct spi_device *spi,struct spi_transfer *t, +unsigned long flags) {struct device *dev = &spi->dev;struct falcon_sflash *priv =spi_controller_get_devdata (spi->controller);
Signature · 1 line
2.50.0
Mark Brown
maintainerRe: [PATCH 16/16] spi: falcon: mark falcon_sflash_xfer() as static
Quoted 7 lines · Shiji Yang
Fix the following missing-prototypes build warning:
drivers/spi/spi-falcon.c:97:5: error: no previous prototype for 'falcon_sflash_xfer' [-Werror=missing-prototypes]
97 | int falcon_sflash_xfer(structspi_device*spi, structspi_transfer*t,| ^~~~~~~~~~~~~~~~~~Signed-off-by Shiji Yang <[email protected]>
I believe there's no actual dependency on the rest of the series? In general it is better not to mix patches for different subsystems in a single series unless there's some interaction between them, it just means people get more mail and makes it a bit less clear how things should be applied.
Mark Brown
maintainerRe: (subset) [PATCH 00/16] MIPS: some compilation fixes for the Lantiq platform
In reply to Shiji YangQuoted 23 lines · Shiji Yang
This patch series fixes some MIPS Lantiq platform compilation issues found on the 6.12 kernel[1].
[1] https://github.com/openwrt/openwrt/pull/18751
Shiji Yang (16):
MIPS: lantiq: xway: markltq_ar9_sys_hz()as static
MIPS: lantiq: xway: markdma_init()as static
MIPS: lantiq: xway: markdcdc_init()as static
MIPS: lantiq: irq: fix misc missing-prototypes warnings
MIPS: lantiq: xway: add prototype forltq_get_cp1_base()
MIPS: pci: lantiq: markspcibios_init()as static
MIPS: lantiq: falcon: fix misc missing-prototypes warnings
MIPS: lantiq: falcon: sysctrl: remove unusedfalcon_trigger_hrst()
MIPS: lantiq: falcon: sysctrl: add missing headerprom.h
MIPS: lantiq: falcon: sysctrl: fix request memory check logic
MIPS: lantiq: xway: gptu: markgptu_init()as static
MIPS: vpe-mt: markvpe_free()andvpe_stop()as static
MIPS: vpe-mt: drop unused functionsvpe_alloc()andvpe_start()
pinctrl: xway: markxway_pinconf_group_set()as static
pinctrl: falcon: markpinctrl_falcon_init()as static
spi: falcon: markfalcon_sflash_xfer()as static
Quoted 1 line
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[16/16] spi: falcon: mark falcon_sflash_xfer() as static
commit: 5fc2c383125c2b4b6037e02ad8796b776b25e6d0
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 2 lines · Shiji Yang
This patch series fixes some MIPS Lantiq platform compilation issues found on the 6.12 kernel[1].
Thanks!
(...)
Quoted 1 line
pinctrl: xway: mark
xway_pinconf_group_set()as static
I already got a similar patch from Bartosz.
Quoted 1 line
pinctrl: falcon: mark
pinctrl_falcon_init()as static
Patch applied!
Yours,
Linus Walleij
Quoted 23 lines · Shiji Yang
This patch series fixes some MIPS Lantiq platform compilation issues found on the 6.12 kernel[1].
[1] https://github.com/openwrt/openwrt/pull/18751
Shiji Yang (16):
MIPS: lantiq: xway: markltq_ar9_sys_hz()as static
MIPS: lantiq: xway: markdma_init()as static
MIPS: lantiq: xway: markdcdc_init()as static
MIPS: lantiq: irq: fix misc missing-prototypes warnings
MIPS: lantiq: xway: add prototype forltq_get_cp1_base()
MIPS: pci: lantiq: markspcibios_init()as static
MIPS: lantiq: falcon: fix misc missing-prototypes warnings
MIPS: lantiq: falcon: sysctrl: remove unusedfalcon_trigger_hrst()
MIPS: lantiq: falcon: sysctrl: add missing headerprom.h
MIPS: lantiq: falcon: sysctrl: fix request memory check logic
MIPS: lantiq: xway: gptu: markgptu_init()as static
MIPS: vpe-mt: markvpe_free()andvpe_stop()as static
MIPS: vpe-mt: drop unused functionsvpe_alloc()andvpe_start()
pinctrl: xway: markxway_pinconf_group_set()as static
pinctrl: falcon: markpinctrl_falcon_init()as static
spi: falcon: markfalcon_sflash_xfer()as static
Quoted 14 lines
.../include/asm/mach-lantiq/xway/lantiq_soc.h | 3 ++ arch/mips/kernel/vpe-mt.c | 35 ++----------------- arch/mips/lantiq/falcon/prom.c | 4 +-- arch/mips/lantiq/falcon/sysctrl.c | 29 ++++++--------- arch/mips/lantiq/irq.c | 3 +- arch/mips/lantiq/xway/clk.c | 2 +- arch/mips/lantiq/xway/dcdc.c | 2 +- arch/mips/lantiq/xway/dma.c | 2 +- arch/mips/lantiq/xway/gptu.c | 2 +- arch/mips/pci/pci-lantiq.c | 2 +- drivers/pinctrl/pinctrl-falcon.c | 2 +- drivers/pinctrl/pinctrl-xway.c | 2 +- drivers/spi/spi-falcon.c | 2 +- 13 files changed, 28 insertions(+), 62 deletions(-)
applied patches 1-11 to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]