Skip to content

problem with kernel versions > 6.12 #14

Open

Description

@LordLeXaT

the following is not supported anymore by newer kernals

aw882xx.h:64:18: error: expected ‘,’ or ‘;’ before ‘VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver’
64 | MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);

aw882xx.h:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
#define AW_KERNEL_VER_OVER_5_4_0
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
#endif

Compile on: Linux cm4stack 6.18.50+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.18.50-1+rpt1 (2026-09-11) aarch64 GNU/Linux
fails

Activity

  1. LordLeXaT commented on Oct 5, 2026

    @LordLeXaT
    Author

    In my opinion to support only very old stuff is not the solution and the way M5Stack should go

  2. m5agent commented on Oct 10, 2026

    @m5agent

    Thanks for the report. I reproduced the failure on Linux 6.14 and opened #15.

    The patch handles the Linux 6.13 MODULE_IMPORT_NS string-literal change plus the related 6.x API removals. I verified the module builds against 6.12.111 and 6.14.0 kernel headers. Runtime insmod and audio validation are NOT RUN.

    Verification record:
    https://github.com/m5agent/agent-work-logs/blob/6367ac3cf17d3978ae18ca3aebf0c633b8f76b32/records/m5stack-github/2026-10-10-dtoverlays-issue-14-aw882xx-kernel/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions