Skip to content

QDMA: Resolve build error on recent kernel version#380

Open
heeuid wants to merge 1 commit intoXilinx:masterfrom
heeuid:build-error-on-recent-kernel-version
Open

QDMA: Resolve build error on recent kernel version#380
heeuid wants to merge 1 commit intoXilinx:masterfrom
heeuid:build-error-on-recent-kernel-version

Conversation

@heeuid
Copy link
Copy Markdown

@heeuid heeuid commented Apr 13, 2026

Descripton

This PR addresses build errors introduced by Kbuild changes and stricter type-checking in Linux kernel 6.15.

Changes

  • Kbuild: Switched from EXTRA_CFLAGS to ccflags-y (Fixes missing include paths/macros in v6.15+).
  • Bitfields: Resolved FIELD_GET redefinition by using standard <linux/bitfield.h> for v6.15 and above.
  • Type Safety: Removed redundant FIELD_GET calls on already-extracted bitfields to fix typeof() validation errors in the latest kernel headers.
  • Empty body if statement: Resolve empty-body error

Environment

Tested on: 6.17.0-14-generic (ubuntu 24.04)

Signed-off-by: sunghee <h33uid@gmail.com>
@heeuid heeuid force-pushed the build-error-on-recent-kernel-version branch from a055343 to 482e410 Compare April 13, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant