openwrt/target/linux/generic/hack-5.15
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
..
204-module_strip.patch generic: 5.15: refresh hack patches 2022-10-16 13:19:33 +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 generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
211-darwin-uuid-typedef-clash.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
212-tools_portability.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
214-spidev_h_portability.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
220-arm-gc_sections.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
221-module_exports.patch kernel: bump 5.15 to 5.15.79 2022-11-16 23:30:11 +01:00
230-openwrt_lzma_options.patch kernel: bump 5.15 to 5.15.40 2022-05-16 20:26:38 +02:00
250-netfilter_depends.patch kernel: bump 5.15 to 5.15.67 2022-09-09 21:08:37 +01:00
251-kconfig.patch kernel: bump 5.15 to 5.15.49 2022-06-27 00:57:16 +02:00
253-ksmbd-config.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
259-regmap_dynamic.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
260-crypto_test_dependencies.patch kernel: bump 5.15 to 5.15.49 2022-06-27 00:57:16 +02:00
261-lib-arc4-unhide.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
280-rfkill-stubs.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
321-powerpc_crtsavres_prereq.patch kernel: bump 5.15 to 5.15.63 2022-08-25 22:07:43 +02: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.15 to 5.15.55 2022-07-31 18:55:22 +02: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-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
430-mtk-bmt-support.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
600-bridge_offload.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +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.15 to 5.15.81 2022-12-11 02:42:52 +01:00
650-netfilter-add-xt_FLOWOFFLOAD-target.patch kernel: bump 5.15 to 5.15.67 2022-09-09 21:08:37 +01:00
651-wireless_mesh_header.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
660-fq_codel_defaults.patch kernel: bump 5.15 to 5.15.76 2022-10-30 17:57:25 +01:00
661-kernel-ct-size-the-hashtable-more-adequately.patch kernel: bump 5.15 to 5.15.75 2022-10-30 17:54:59 +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: fix mvneta Ethernet after generic phylink validate 2022-09-05 14:05:50 +01:00
720-net-phy-add-aqr-phys.patch kernel: bump 5.15 to 5.15.71 2022-10-02 20:21:55 +02:00
721-net-add-packet-mangeling.patch kernel: bump 5.15 to 5.15.75 2022-10-30 17:54:59 +01:00
722-net-phy-aquantia-enable-AQR112-and-AQR412.patch kernel: bump 5.15 to 5.15.71 2022-10-02 20:21:55 +02:00
723-net-phy-aquantia-fix-system-side-protocol-mi.patch kernel: bump 5.15 to 5.15.71 2022-10-02 20:21:55 +02:00
724-net-phy-aquantia-Add-AQR113-driver-support.patch kernel: bump 5.15 to 5.15.71 2022-10-02 20:21:55 +02:00
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch kernel: bump 5.15 to 5.15.71 2022-10-02 20:21:55 +02:00
760-net-usb-r8152-add-LED-configuration-from-OF.patch kernel: bump 5.15 to 5.15.76 2022-10-30 17:57:25 +01:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
773-bgmac-add-srab-switch.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
780-usb-net-MeigLink_modem_support.patch kernel: bump 5.15 to 5.15.80 2022-11-27 13:18:29 +01:00
790-SFP-GE-T-ignore-TX_FAULT.patch generic: 5.15: move sfp HALNy patch from pending to backport 2022-10-24 21:10:46 +02:00
800-GPIO-add-named-gpio-exports.patch kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
901-debloat_sock_diag.patch kernel: bump 5.15 to 5.15.81 2022-12-11 02:42:52 +01:00
902-debloat_proc.patch kernel: bump 5.15 to 5.15.81 2022-12-11 02:42:52 +01:00
904-debloat_dma_buf.patch kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
910-kobject_uevent.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
911-kobject_add_broadcast_uevent.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
920-device_tree_cmdline.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch kernel: bump 5.15 to 5.15.56 2022-07-31 18:55:22 +02:00