armbian-build/patch/misc/wireless-uwe5622
Igor Velkov e9f1902134
uwe5622: fix compilation with clang on Linux 6.19 (#9314)
In Linux 6.19, net_device->dev_addr is const unsigned char *.
Clang with -Werror,-Wincompatible-pointer-types-discards-qualifiers
rejects passing dev_addr to non-const parameters and memcpy into it.

Fix by:
- Replacing memcpy(dev->dev_addr, ...) with dev_addr_set()
- Using local buffer + ether_addr_copy for sprdwl_set_mac_addr call
  that needs mutable addr (the function modifies it in-place)
- Changing u8 *mac pointer to u8 mac[ETH_ALEN] array in cfg80211.c
  where dev_addr was assigned to a non-const pointer

Relates to #9049
2026-01-31 13:51:07 +01:00
..
uwe5622-adjust-for-rockchip-post-6.1.patch
uwe5622-adjust-for-rockchip-pre-6.1.patch
uwe5622-allwinner-bugfix-v6.3.patch
uwe5622-allwinner-bugfix.patch
uwe5622-allwinner-v6.3-compilation-fix.patch
uwe5622-allwinner-v6.3.patch
uwe5622-allwinner.patch
uwe5622-fix-setting-mac-address-for-netdev.patch
uwe5622-fix-spanning-writes.patch
uwe5622-fix-timer-api-changes-for-6.15-only-sunxi.patch
uwe5622-park-link-pre-v6.1.patch
uwe5622-park-link-v6.1-post.patch
uwe5622-park-link-v6.2-only.patch
uwe5622-v6.1.patch
uwe5622-v6.4-post.patch
uwe5622-v6.6-fix-tty-sdio.patch
uwe5622-v6.9.patch
uwe5622-v6.11.patch
uwe5622-v6.15-timer-api-changes.patch
uwe5622-v6.16.patch
uwe5622-v6.17.patch
uwe5622-v6.18.patch
uwe5622-v6.19.patch uwe5622: fix compilation with clang on Linux 6.19 (#9314) 2026-01-31 13:51:07 +01:00
uwe5622-warnings.patch
wireless-uwe5622-Fix-compilation-with-6.7-kernel.patch
wireless-uwe5622-reduce-system-load.patch