Closed Timarrr closed 1 year ago
Hello Ayman! I have the same problem on 6.2.0-31-generic kernel.
Could you try the latest code from master?
I've tried with the latest code from master and got this.
Adding #include <linux/version.h>
fixes the build for me. I sent PR #77
Describe the bug Compilation fails on kernel 6.3.7 with incompatible pointer types error
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/aymanbagabas/Huawei-WMI
make
Expected behavior Successful compilation and installation of module
Screenshots
(please complete the following information):
acpidump
sudo acpidump > acpidump.txt
acpidump.txtdmidecode
dmidecode > dmidecode
dmidecode.txtKernel [e.g. 5.2.9-200.fc30.x86_64]
uname -a
Linux MangoTree 6.3.7-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Jun 12 17:52:17 +10 2023 x86_64 AMD Ryzen 5 4600H with Radeon Graphics AuthenticAMD GNU/Linux
Distro [e.g. Fedora 30] ` Gentoo
Loaded WMI modules
lsmod | grep wmi
Dmesg log
dmesg > dmesg.txt
dmesg.txtALSA log
alsa-info.sh
http://alsa-project.org/db/?f=b152ade2fed9243b3af0ae84e5ba8b0009dcbba9Additional context If any