openwrt/package
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
..
base-files base-files: Reapply fixed "Ignore exit code of uci.sh inclusion" 2024-06-12 11:12:13 +02:00
boot kexec-tools: fix multiple compile errors 2024-06-08 14:08:38 +02:00
devel ply: add dynamic tracing package using BPF 2024-05-31 11:51:45 +02:00
firmware linux-firmware: Update to version 20240513 2024-05-28 22:04:34 +02:00
kernel kernel: ltq-adsl-mei: fix compilation warning on 6.6 2024-06-14 14:32:28 +02:00
libs openssl: update to 3.0.14 2024-06-08 23:29:31 +02:00
network dropbear: don't install /usr/lib/opkg/info in package install 2024-06-11 23:58:17 +02:00
system apk: host: make the help available 2024-06-11 23:58:20 +02:00
utils yafut: update to fix basename() issue 2024-06-11 14:27:47 +02:00
Makefile build: package: fix missing host apk dependency 2024-06-11 23:58:14 +02:00