armbian-build/lib/functions/compilation
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
..
packages chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
patch uwe5622: fix compilation with clang on Linux 6.19 (#9314) 2026-01-31 13:51:07 +01:00
armbian-kernel.sh armbian-kernel: more eBPF-oriented options for userspace tooling 2026-01-08 19:40:54 +01:00
atf.sh drop find_toolchains, SKIP_EXTERNAL_TOOLCHAINS and all $toolchain PATH injections 2026-01-14 20:08:21 +01:00
ccache.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
crust.sh drop find_toolchains, SKIP_EXTERNAL_TOOLCHAINS and all $toolchain PATH injections 2026-01-14 20:08:21 +01:00
distcc.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel-config.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel-debs.sh Fix "modpost not foud" error since error in rust coreutils uutils/coreutils#8924 2026-01-22 12:25:08 +01:00
kernel-dts-check.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel-git-bundle.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel-git-oras.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel-git.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel-make.sh kernel: add custom_kernel_make_params extension hook 2026-01-25 11:36:20 +01:00
kernel-patching.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
kernel.sh cli: kernel-dtb: check dtc for version 1.7.2 before producing normalized dts 2026-01-25 11:36:34 +01:00
uboot-git.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
uboot-patching.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
uboot.sh u-boot: fix and unify CROSS_COMPILE and PATH after predatory maintenance 2026-01-14 20:08:21 +01:00
utils-compilation.sh drop find_toolchains, SKIP_EXTERNAL_TOOLCHAINS and all $toolchain PATH injections 2026-01-14 20:08:21 +01:00