|SUCCESS| vfio: fix cdev build with old Linux headers
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Mon Nov 2 19:22:54 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172349
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-02
# DPDK Patch Review
## Analysis
This patch reorders includes in `lib/eal/linux/eal_vfio_cdev.c` to fix a build failure with old Linux headers. The fix moves UAPI headers before system headers to ensure compatibility definitions are available.
## Findings
### ERRORS
None.
### WARNINGS
None.
### INFO
**Include order deviation documented:**
The patch intentionally violates the standard DPDK include order (system headers before UAPI headers) to work around a kernel header interaction. This is acceptable given the technical justification in the commit message, but worth noting for maintainability. The comment in the commit message explains the issue: `__counted_by` compatibility definitions from the imported UAPI headers must be processed before system headers that indirectly include `linux/stddef.h`.
**Pre-existing: Duplicate `Acked-by` tag:**
The patch contains two identical `Acked-by: David Marchand <david.marchand at redhat.com>` tags. This is a commit message formatting issue, not a code issue, but is unusual and should typically be deduplicated before applying.
---
The code change itself is correct: it solves the build failure by ensuring the imported UAPI headers with their compatibility definitions are included first. The deviation from standard include order is justified and documented.
Review-Result: CLEAN
More information about the test-report
mailing list