|WARNING| examples/multi_process: check return value from get name
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Fri Nov 20 22:00:30 CET 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/173094
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-20
**Error**
Malformed escape sequence in the new error message:
```c
cmdline_printf(cl, "%u\error - %s\n", port_id, strerror(-ret));
```
`"\e"` is not a standard C escape. GCC and Clang treat it as a GNU extension meaning ESC (0x1B), and `-Wpedantic` warns about it. The output would be the port number, then an ESC control character, then `rror - ...`. That garbles the terminal output and drops the leading `e` of "error".
This was almost certainly meant to be a tab, matching the success line:
```c
cmdline_printf(cl, "%u\terror - %s\n", port_id, strerror(-ret));
```
Review-Result: ERROR
More information about the test-report
mailing list