openwrt-pf/target/linux
Mieczyslaw Nalewaj cc4d01cd60 ramips: 6.1: ralink: fix ethernet driver with 6.1
Fixes errors in the form of:
  make[9]: Entering directory '/home/nick/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-6.1.77'
    CC      drivers/net/ethernet/ralink/mtk_eth_soc.o
  drivers/net/ethernet/ralink/mtk_eth_soc.c: In function 'fe_init':
  drivers/net/ethernet/ralink/mtk_eth_soc.c:1368:51: warning: passing argument 2 of 'of_get_mac_address' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   1368 |         of_get_mac_address(priv->dev->of_node, dev->dev_addr);
        |                                                ~~~^~~~~~~~~~
  In file included from drivers/net/ethernet/ralink/mtk_eth_soc.c:26:
  ./include/linux/of_net.h:16:59: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
     16 | extern int of_get_mac_address(struct device_node *np, u8 *mac);
        |                                                       ~~~~^~~
  drivers/net/ethernet/ralink/mtk_eth_soc.c: In function 'fe_probe':
  drivers/net/ethernet/ralink/mtk_eth_soc.c:1641:9: error: too many arguments to function 'netif_napi_add'
   1641 |         netif_napi_add(netdev, &priv->rx_napi, fe_poll, napi_weight);
        |         ^~~~~~~~~~~~~~
  In file included from ./include/linux/etherdevice.h:21,
                   from drivers/net/ethernet/ralink/mtk_eth_soc.c:21:
  ./include/linux/netdevice.h:2611:1: note: declared here
   2611 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
        | ^~~~~~~~~~~~~~

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[split commit and rewrite commit message]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-02-10 13:06:05 +01:00
..
airoha
apm821xx
archs38
armsr
at91
ath25
ath79 kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
bcm27xx kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
bcm47xx
bcm53xx
bcm63xx
bcm4908
bmips bmips: dts: move leds dt-bindings include to SoCs 2024-02-08 09:45:26 +01:00
gemini
generic kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
imx
ipq40xx ipq40xx: fix dts error in LED color/function conversion 2024-02-09 01:44:19 +01:00
ipq806x ipq806x: fix dts error in LED color/function conversion 2024-02-08 00:01:22 +01:00
ixp4xx
kirkwood kirkwood: convert to new LED color/function format where possible 2024-02-07 14:48:38 +01:00
lantiq lantiq: fix dts error in LED color/function conversion 2024-02-08 00:01:22 +01:00
layerscape
malta
mediatek kernel: bump 6.1 to 6.1.76 2024-02-08 18:35:42 +01:00
mpc85xx mpc85xx: convert to new LED color/function format where possible 2024-02-07 14:48:40 +01:00
mvebu kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
mxs
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx
omap
oxnas
pistachio
qoriq
qualcommax qualcommax: refresh kernel patches 2024-02-09 14:33:43 +01:00
ramips ramips: 6.1: ralink: fix ethernet driver with 6.1 2024-02-10 13:06:05 +01:00
realtek realtek: convert to new LED color/function format where possible 2024-02-07 14:48:44 +01:00
rockchip
sifiveu
sunxi
tegra
uml
x86
zynq
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00