Skip to content

Linux Kernel 6.1 #1028

Description

@nikodemusP

Try to recompile the driver with Linux-Kernel 6.1 (Armbian 23.02.0-trunk.0005 Kinetic) , with 5.xx it worked perfect.

Linux astrodroid 6.1.0-rc5-rk3568-odroid #trunk.0005 SMP PREEMPT Sun Dec  4 03:16:10 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
  CC [M]  /home/astrodroid/rtl8812au/core/efuse/rtw_efuse.o
  CC [M]  /home/astrodroid/rtl8812au/os_dep/osdep_service.o
/home/astrodroid/rtl8812au/os_dep/osdep_service.c: In function ‘rtw_random32’:
/home/astrodroid/rtl8812au/os_dep/osdep_service.c:2591:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 2591 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:250: /home/astrodroid/rtl8812au/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1992: /home/astrodroid/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-rc5-rk3568-odroid'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions