FomalhautWeisszwerg / rtl8822bu

RTL8822BU Wireless Driver for Linux >= 4.12
GNU General Public License v2.0
34 stars 12 forks source link

Building failed with incompatible pointer types on Linux-4.19 #24

Open FomalhautWeisszwerg opened 5 years ago

FomalhautWeisszwerg commented 5 years ago

OS infos

$ uname -a
Linux debian-razer-blade-stealth 4.19.0-3-amd64 #1 SMP Debian 4.19.20-1 (2019-02-11) x86_64 GNU/Linux
$ aptitude show linux-image-4.19.0-3-amd64
Package: linux-image-4.19.0-3-amd64      
Version: 4.19.20-1
New: yes
State: installed
Automatically installed: yes
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Uncompressed Size: 270 M
Depends: kmod, linux-base (>= 4.3~), initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool
Recommends: firmware-linux-free, irqbalance, apparmor
Suggests: linux-doc-4.19, debian-kernel-handbook, grub-pc | grub-efi-amd64 | extlinux
Conflicts: linux-image-4.19.0-3-amd64-unsigned
Breaks: initramfs-tools (< 0.120+deb8u2), xserver-xorg-input-vmmouse (< 1:13.0.99)
Replaces: linux-image-4.19.0-3-amd64-unsigned
Description: Linux 4.19 for 64-bit PCs (signed)
 The Linux kernel 4.19 and modules for use on PCs with AMD64, Intel 64 or VIA Nano processors. 

 The kernel image and modules are signed for use with Secure Boot.
Homepage: https://www.kernel.org/

sources

$ git show
commit 05cce986347748caca6fba7a339bf378fe6ff4ef (HEAD -> master, origin/master, origin/HEAD)
Merge: 566bdb9 626253b
Author: Fomalhaut Weisszwerg <weisszwerg@gmail.com>
Date:   Thu Aug 9 01:20:47 2018 +0900

    Merge pull request #17 from mgajda/master

    Support: DKMS installation.

    Thanks @mgajda

logs

rtl8822bu_linux-4.19.log

FomalhautWeisszwerg commented 5 years ago

Since Linux-4.19 RC1, IEEE80211_MAX_AMPDU_BUF has been bumped to support HE. https://github.com/torvalds/linux/commit/b8042b3da925f390c1482bf9dc0898dc0b3ea7b5

FomalhautWeisszwerg commented 5 years ago

commit [a1866df87c7ce3c2ec560ed8099c0034da09b06f]

Fixed warning of redefinition of "IEEE80211_MAX_AMPDU_BUF".

FomalhautWeisszwerg commented 5 years ago

Incompatible pointer types error might be caused by following commit: https://github.com/torvalds/linux/commit/4f49dec9075aa0277b8c9c657ec31e6361f88724