openwrt/target/linux/generic/hack-5.10
Christian Marangi c3c9ef598c
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);
      |                        ^~~~~~~~~~~~~~~~~~

Fixes: 7b863af180 ("kernel: move mac-address-ascii patches to generic")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-12-13 00:33:19 +01:00
..
100-update-mtk_wed_h.patch kernel: backport mtk_wed.h from 5.15 to 5.10 2022-12-10 17:30:36 +01:00
204-module_strip.patch generic: 5.10: refresh hack patches 2022-10-16 20:36:49 +02:00
205-kconfig-abort-configuration-on-unset-symbol.patch kconfig: abort configuration on unset symbol 2022-11-13 16:49:30 +01:00
210-darwin_scripts_include.patch
211-darwin-uuid-typedef-clash.patch
212-tools_portability.patch
214-spidev_h_portability.patch
220-arm-gc_sections.patch kernel: bump 5.10 to 5.10.105 2022-03-19 16:13:58 +01:00
221-module_exports.patch kernel: bump 5.10 to 5.10.155 2022-11-16 23:30:11 +01:00
230-openwrt_lzma_options.patch
250-netfilter_depends.patch kernel: bump 5.10 to 5.10.141 2022-09-11 01:30:11 +02:00
251-kconfig.patch kernel: bump 5.10 to 5.10.124 2022-06-27 00:57:15 +02:00
253-ksmbd-config.patch kernel: bump 5.10 to 5.10.147 2022-10-09 22:18:24 +02:00
259-regmap_dynamic.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
260-crypto_test_dependencies.patch kernel: bump 5.10 to 5.10.124 2022-06-27 00:57:15 +02:00
261-lib-arc4-unhide.patch generic: Convert incorrect generic/5.10 patches 2022-10-01 02:47:56 +02:00
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
321-powerpc_crtsavres_prereq.patch kernel: bump 5.10 to 5.10.138 2022-08-25 20:23:59 +02:00
401-mtd-super-don-t-reply-on-mtdblock-device-minor.patch kernel: support FIT partition parser on mtdblock devices 2021-04-09 16:04:35 +01:00
402-mtd-blktrans-call-add-disks-after-mtd-device.patch kernel: backport support for "linux,rootfs" in DT 2022-11-08 09:12:16 +01:00
410-block-fit-partition-parser.patch kernel: bump 5.10 to 5.10.158 2022-12-11 02:43:28 +01:00
420-mtd-support-OpenWrt-s-MTD_ROOTFS_ROOT_DEV.patch kernel: backport support for "linux,rootfs" in DT 2022-11-08 09:12:16 +01:00
421-mtd-fix-squashfs-root-on-targets-with-CONFIG_FIT_PAR.patch kernel: backport support for "linux,rootfs" in DT 2022-11-08 09:12:16 +01:00
422-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch kernel: split out mtd hack for CONFIG_FIT_PARTITION + rootfs 2022-11-08 09:12:05 +01:00
430-mtk-bmt-support.patch generic: Convert incorrect generic/5.10 patches 2022-10-01 02:47:56 +02:00
600-bridge_offload.patch generic: Convert incorrect generic/5.10 patches 2022-10-01 02:47:56 +02:00
601-of_net-add-mac-address-ascii-support.patch generic: fix wrong PTR_ERR use in of net mac address ascii patch 2022-12-13 00:33:19 +01:00
645-netfilter-connmark-introduce-set-dscpmark.patch kernel: bump 5.10 to 5.10.157 2022-12-11 02:43:28 +01:00
650-netfilter-add-xt_FLOWOFFLOAD-target.patch kernel: bump 5.10 to 5.10.141 2022-09-11 01:30:11 +02:00
651-wireless_mesh_header.patch
660-fq_codel_defaults.patch kernel: bump 5.10 to 5.10.152 2022-10-30 17:54:59 +01:00
661-kernel-ct-size-the-hashtable-more-adequately.patch kernel: scale nf_conntrack_max more reasonably 2022-04-01 13:23:41 +01:00
700-swconfig_switch_drivers.patch kernel: modules: make ar8216/8327 modularizable 2022-06-05 16:58:48 +02:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: bump 5.10 to 5.10.145 2022-10-02 20:21:55 +02:00
720-net-phy-add-aqr-phys.patch kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
721-net-add-packet-mangeling.patch kernel: bump 5.10 to 5.10.150 2022-10-30 17:52:42 +01:00
722-net-phy-aquantia-enable-AQR112-and-AQR412.patch kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
723-net-phy-aquantia-fix-system-side-protocol-mi.patch kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
724-net-phy-aquantia-Add-AQR113-driver-support.patch kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch kernel: bump 5.10 to 5.10.146 2022-10-02 20:21:55 +02:00
760-net-usb-r8152-add-LED-configuration-from-OF.patch kernel: bump 5.10 to 5.10.150 2022-10-30 17:52:42 +01:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
773-bgmac-add-srab-switch.patch kernel: backport bgmac upstream commits from 5.15 / for 5.16 2021-10-07 11:30:18 +02:00
780-usb-net-MeigLink_modem_support.patch kernel: bump 5.10 to 5.10.156 2022-11-27 13:18:29 +01:00
800-GPIO-add-named-gpio-exports.patch kernel: bump 5.10 to 5.10.137 2022-08-23 10:37:04 +02:00
901-debloat_sock_diag.patch kernel: bump 5.10 to 5.10.157 2022-12-11 02:43:28 +01:00
902-debloat_proc.patch kernel: bump 5.10 to 5.10.157 2022-12-11 02:43:28 +01:00
904-debloat_dma_buf.patch kernel: bump 5.10 to 5.10.137 2022-08-23 10:37:04 +02:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch kernel: bump 5.10 to 5.10.38 2021-05-22 21:54:17 +01:00
920-device_tree_cmdline.patch generic: Convert incorrect generic/5.10 patches 2022-10-01 02:47:56 +02:00