lede/target/linux
Christian Marangi 92fbd549a3 generic: fix wrong PTR_ERR use in of net mac address ascii patch
nvmem_cell_read return a pointer error when an error occurs. Currently
we convert the pointer error to an int while the rest of the function
return a void* and expcet an error pointer. Fix this PTR_ERR msuse
fixing compilation warning.

Fixes the following compilation warning:
net/ethernet/eth.c: In function 'nvmem_cell_get_mac_address':
net/ethernet/eth.c:547:24: warning: returning 'long int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
  547 |                 return PTR_ERR(mac);
      |                        ^~~~~~~~~~~~
net/ethernet/eth.c: In function 'nvmem_cell_get_mac_address_ascii':
net/ethernet/eth.c:564:24: warning: returning 'long int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
  564 |                 return PTR_ERR(mac_ascii);
      |                        ^~~~~~~~~~~~~~~~~~

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-12-22 19:45:20 +08:00
..
airoha kernel: bump 5.15 to 5.15.68 2022-09-17 18:22:20 +08:00
apm821xx kernel: bump to 5.10.161, 5.15.85, 6.1.1 (#10666) 2022-12-22 11:25:10 +08:00
arc770 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
archs38 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
armvirt armvirt: copy config files from 5.10 (#9910) 2022-08-10 13:01:30 +08:00
at91 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
ath25 kernel: bump 5.4 to 5.4.214 (#10170) 2022-09-24 12:09:08 +08:00
ath79 kernel: bump to 5.4.226, 5.10.158, 5.15.82 (#10573) 2022-12-09 18:18:58 +08:00
bcm27xx kernel: bump to 5.10.161, 5.15.85, 6.1.1 (#10666) 2022-12-22 11:25:10 +08:00
bcm47xx mac80211: remove old legacy legacy drivers 2022-12-18 20:25:07 +08:00
bcm53xx kernel: bump 5.10 to 5.10.153 (#10377) 2022-11-05 21:57:35 +08:00
bcm63xx kernel: bump 5.4 to 5.4.214 (#10170) 2022-09-24 12:09:08 +08:00
bcm4908 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
bmips kernel: bump 5.15 to 5.15.67 2022-09-13 19:25:12 +08:00
gemini kernel: bump 5.10 to 5.10.70 (#7976) 2021-10-04 22:25:52 +08:00
generic generic: fix wrong PTR_ERR use in of net mac address ascii patch 2022-12-22 19:45:20 +08:00
imx target: imx6 rename to imx 2022-01-05 19:08:23 +08:00
ipq40xx Kernel: bump to 5.4.228, 5.10.160, 5.15.84 (#10656) 2022-12-20 23:13:01 +08:00
ipq60xx Revert "ipq60xx: Add upstream patch for USB Support" 2022-12-08 14:19:31 +08:00
ipq806x Kernel: bump to 5.4.228, 5.10.160, 5.15.84 (#10656) 2022-12-20 23:13:01 +08:00
ipq807x kernel: bump 5.10 to 5.10.157 (#10561) 2022-12-06 18:01:43 +08:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-09-30 21:35:47 +08:00
lantiq kernel: bump 5.10 to 5.10.153 (#10377) 2022-11-05 21:57:35 +08:00
layerscape kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
malta x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
mediatek mediatek: filogic: enable maxlinear PHY support 2022-12-22 19:43:30 +08:00
meson meson: add support for Thunder OneCloud 2022-09-25 16:21:21 +08:00
mpc85xx kernel: bump 5.4 to 5.4.221 (#10342) 2022-11-01 02:02:19 +00:00
mvebu kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
mxs x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
octeon kernel: bump 5.4 to 5.4.214 (#10170) 2022-09-24 12:09:08 +08:00
octeontx kernel: bump 5.4 to 5.4.214 (#10170) 2022-09-24 12:09:08 +08:00
omap x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
oxnas kernel: bump 5.10 to 5.10.152 (#10341) 2022-11-01 02:06:45 +00:00
pistachio kernel: bump 5.4 to 5.14.224 (#10406) 2022-11-11 08:00:59 +00:00
ramips kernel: bump to 5.4.226, 5.10.158, 5.15.82 (#10573) 2022-12-09 18:18:58 +08:00
realtek kernel: bump 5.4 to 5.4.191 (#9329) 2022-04-29 22:56:09 +08:00
rockchip kernel: bump to 5.10.161, 5.15.85, 6.1.1 (#10666) 2022-12-22 11:25:10 +08:00
silicon silicon: fix kernel target 2022-12-14 18:35:35 +08:00
sunxi sunxi: add kernel 5.10 support 2022-12-14 12:00:10 +08:00
tegra kernel: bump 5.10 to 5.10.133 (#9845) 2022-07-27 23:51:57 +08:00
uml x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
x86 treewide: remove kernel 6.0 support 2022-12-14 12:10:38 +08:00
zynq x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
Makefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00