1
1
openwrt/package/kernel
Shiji Yang e4be021989 kernel: kmod-ltq-deu: rename some sha1 functions
They are conflict with the kernel crypto library on 6.18 kernel.
Fixes:

ifxmips_sha1.c:83:8: error: redefinition of 'struct sha1_ctx'
   83 | struct sha1_ctx {
      |        ^~~~~~~~
In file included from ifxmips_sha1.c:50:
/workspaces/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/linux-6.18.21/include/crypto/sha1.h:50:8: note: originally defined here
   50 | struct sha1_ctx {
      |        ^~~~~~~~
ifxmips_sha1.c:164:12: error: conflicting types for 'sha1_update'; have 'int(struct shash_desc *, const u8 *, unsigned int)' {aka 'int(struct shash_desc *, const unsigned char *, unsigned int)'}
  164 | static int sha1_update(struct shash_desc * desc, const u8 *data,
      |            ^~~~~~~~~~~
/workspaces/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/linux-6.18.21/include/crypto/sha1.h:76:6: note: previous declaration of 'sha1_update' with type 'void(struct sha1_ctx *, const u8 *, size_t)' {aka 'void(struct sha1_ctx *, const unsigned char *, unsigned int)'}
   76 | void sha1_update(struct sha1_ctx *ctx, const u8 *data, size_t len);
      |      ^~~~~~~~~~~
ifxmips_sha1.c:195:12: error: conflicting types for 'sha1_final'; have 'int(struct shash_desc *, u8 *)' {aka 'int(struct shash_desc *, unsigned char *)'}
  195 | static int sha1_final(struct shash_desc *desc, u8 *out)
      |            ^~~~~~~~~~
/workspaces/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/linux-6.18.21/include/crypto/sha1.h:87:6: note: previous declaration of 'sha1_final' with type 'void(struct sha1_ctx *, u8 *)' {aka 'void(struct sha1_ctx *, unsigned char *)'}
   87 | void sha1_final(struct sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]);
      |      ^~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22921
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-16 11:34:28 +02:00
..
ath10k-ct kernel/ath10k: provide a virtual kmod 2025-12-31 18:16:48 +01:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20250430 2025-06-06 12:34:01 +02:00
bcm63xx-cfe bcm63xx-cfe: install into image staging dir 2025-04-13 10:44:19 +02:00
bpf-headers bpf-headers: update to version 6.12 2025-11-27 14:31:30 +01:00
button-hotplug button-hotplug: use flex array and not pointer hack 2026-03-03 13:09:35 +01:00
cryptodev-linux cryptodev-linux: add backport to build for 6.18 2025-12-23 18:06:23 +01:00
econet-eth econet: en7528: add basic ethernet support 2026-02-15 01:12:52 +01:00
gpio-button-hotplug gpio-button-hotplug: remove LINUX_VERSION_CODE 2026-04-15 10:04:13 +02:00
gpio-nct5104d package: gpio-nct5104d: adapt to kernel 6.18 2025-12-30 10:44:05 +01:00
lantiq kernel: kmod-ltq-deu: rename some sha1 functions 2026-04-16 11:34:28 +02:00
leds-gca230718 kernel: leds-gca230718: remove _remove 2024-12-24 00:23:35 +01:00
leds-ws2812b kernel: ws2812b: use devm for mutex_init 2024-10-06 12:21:51 +02:00
linux modules: generate plain module names via version filters 2026-04-12 23:56:07 +02:00
mac80211 mac80211: ath9k: remove entropy patch 2026-04-06 01:00:17 +02:00
mt76 mt76: pass LED define via ccflags-y 2026-04-03 19:13:17 +02:00
mt7621-qtn-rgmii treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
mwlwifi mwlwifi: add patch series for kernel 6.18 compatibility 2026-04-06 16:03:37 +02:00
nat46 netfilter: remove nf-conntrack6 2026-01-21 22:42:20 +01:00
ntfs ntfs: new package 2026-04-13 01:37:49 +02:00
qca-nss-dp qca-nss-dp: update to Git HEAD (2026-03-13) 2026-03-13 11:40:03 +01:00
qca-ssdk qca-ssdk: update to Git HEAD (2025-05-30) 2025-06-02 22:59:05 +02:00
r8101 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8125 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8126 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8127 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8168 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
rtc-rv5c386a rtc-rv5c386a: fix build with kernel 6.12 2026-03-10 23:50:54 +01:00
rtl8812au-ct rtl8812au-ct: restrict to kernels ≤ 6.18 2026-03-28 11:51:11 +01:00
trelay trelay: use struct_size helper in allocation 2026-03-13 19:58:05 +01:00
ubnt-ledbar treewide: remove of_gpio.h 2025-09-20 12:47:23 +02:00
ubootenv-nvram treewide: replace remove_new with remove 2026-01-03 17:27:25 +01:00