lede-Heleguo/target/linux/generic
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
..
backport-5.4 Kernel: bump to 5.4.228, 5.10.160, 5.15.84 (#10656) 2022-12-20 23:13:01 +08:00
backport-5.10 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
backport-5.15 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
backport-6.1 kernel: add linux 6.1 stable release support 2022-12-12 19:29:09 +08:00
files generic: 5.15: get uImage.FIT partition parser ready 2022-09-19 21:26:27 +08:00
files-5.4/fs/ntfs3 fs: port ntfs3 from kernel 5.19 to 5.4 2022-09-11 03:34:53 +08:00
files-5.10/fs/ntfs3 fs: port ntfs3 from kernel 5.19 to 5.10 2022-09-11 03:36:58 +08:00
hack-5.4 Kernel: bump to 5.4.228, 5.10.160, 5.15.84 (#10656) 2022-12-20 23:13:01 +08:00
hack-5.10 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
hack-5.15 kernel: bump to 5.10.161, 5.15.85, 6.1.1 (#10666) 2022-12-22 11:25:10 +08:00
hack-6.1 generic: fix wrong PTR_ERR use in of net mac address ascii patch 2022-12-22 19:45:20 +08:00
image add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
other-files add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
pending-5.4 Kernel: bump to 5.4.228, 5.10.160, 5.15.84 (#10656) 2022-12-20 23:13:01 +08:00
pending-5.10 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
pending-5.15 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
pending-6.1 mac80211: backport ath11k in linux kernel 6.1 2022-12-14 05:04:31 +08:00
config-5.4 kernel: bump to 5.4.226, 5.10.158, 5.15.82 (#10573) 2022-12-09 18:18:58 +08:00
config-5.10 kernel: add missing symbol to 5.10 config 2022-12-17 11:19:05 +08:00
config-5.15 kernel: modules/lib-lz4: add lz4hc_compress 2022-12-17 11:20:09 +08:00
config-6.1 kernel: modules/lib-lz4: add lz4hc_compress 2022-12-17 11:20:09 +08:00
config-filter kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
PATCHES