|SUCCESS| eal/linux: ignore ENOENT when unlinking hugepages

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Sun Nov 29 10:13:23 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/173305

_AI Code Review_

=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-29

Info

lib/eal/linux/eal_memalloc.c: the changed line keeps the implicit integer truth test on the return of `unlink()`:

    if (unlink(path) && errno != ENOENT) {

DPDK style prefers an explicit comparison for integer results. Since this line is being modified anyway, consider:

    if (unlink(path) != 0 && errno != ENOENT) {

Review-Result: CLEAN


More information about the test-report mailing list