1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
openwrt/package/kernel
Aleksander Jan Bajkowski fda7563c9a kernel: ltq-adsl-mei: fix compilation warning on 6.6
Fix compilation warning:
./include/linux/export.h:29:22: error: passing argument 1 of 'class_create' from incompatible pointer type [-Werror=incompatible-pointer-types]
   29 | #define THIS_MODULE (&__this_module)
      |                     ~^~~~~~~~~~~~~~~
      |                      |
      |                      struct module *
/home/aleksander/workspace/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-ar9/ltq-adsl-mei/drv_mei_cpe.c:2774:34: note: in expansion of macro 'THIS_MODULE'
 2774 |         dsl_class = class_create(THIS_MODULE, "ifx_mei");
      |                                  ^~~~~~~~~~~
In file included from ./include/linux/device.h:31,
                 from ./include/linux/dma-mapping.h:8,
                 from ./include/linux/skbuff.h:28,
                 from ./include/net/net_namespace.h:43,
                 from ./include/linux/netdevice.h:38,
                 from /home/aleksander/workspace/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-ar9/ltq-adsl-mei/drv_mei_cpe.c:39:
./include/linux/device/class.h:230:54: note: expected 'const char *' but argument is of type 'struct module *'
  230 | struct class * __must_check class_create(const char *name);
      |                                          ~~~~~~~~~~~~^~~~
/home/aleksander/workspace/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-ar9/ltq-adsl-mei/drv_mei_cpe.c:2774:21: error: too many arguments to function 'class_create'
 2774 |         dsl_class = class_create(THIS_MODULE, "ifx_mei");
      |                     ^~~~~~~~~~~~
./include/linux/device/class.h:230:29: note: declared here
  230 | struct class * __must_check class_create(const char *name);
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2024-06-14 14:32:28 +02:00
..
ath10k-ct treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20240424 2024-05-10 09:15:15 +02:00
bcm63xx-cfe treewide: package: update missed hashes after switch to ZSTD 2024-04-07 14:56:04 +02:00
bpf-headers bpf-headers: fix use of netlink.h header 2024-05-01 19:11:33 +02:00
button-hotplug
cryptodev-linux packages: refresh patches 2024-05-31 11:30:06 +02:00
dtc/patches
gpio-button-hotplug gpio-button-hotplug: fix 6.2 build failure 2024-03-11 20:17:26 +01:00
gpio-nct5104d gpio-nct5104d: fix compilation with kernel 6.6 2024-05-13 10:15:17 +02:00
lantiq kernel: ltq-adsl-mei: fix compilation warning on 6.6 2024-06-14 14:32:28 +02:00
leds-gca230718 package: kernel: leds-gca230718: fix build with Linux 6.6 2024-04-12 02:07:30 +01:00
leds-ws2812b
linux kernel: modules: netdevice: remove kmod-of-mdio dependency for kmod-stmmac-core 2024-06-10 16:50:29 +02:00
mac80211 mac80211: remove mtd-cal-data 2024-06-13 18:10:27 +02:00
mt76 mt76: mt7996: select required kernel and hostap options 2024-06-11 00:10:21 +01:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: update to version 10.4.10-20240419 2024-04-23 22:33:56 +02:00
nat46 treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
qca-nss-dp kernel: qca-nss-dp: add back printing attached PHY-s 2024-05-21 12:29:33 +02:00
qca-ssdk packages: refresh patches 2024-05-31 11:30:06 +02:00
rtc-rv5c386a
rtl8812au-ct treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
trelay
ubnt-ledbar ubnt-ledbar: adapt for kernel v6.6 2024-05-11 12:38:13 +02:00
ubootenv-nvram kernel: ubootenv-nvram: driver for RAM backed environments 2023-08-20 01:14:06 +02:00