|WARNING| examples/multi_process: check return value from get name
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Fri Nov 20 20:43:58 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**
1. **Mistyped escape sequence in the error format string.**
```c
cmdline_printf(cl, "%u\error - %s\n", port_id, strerror(-ret));
```
- `\e` is not a standard C escape sequence. GCC and clang accept it as an extension meaning ESC (0x1B). MSVC and `-pedantic` builds warn about an unknown escape.
- The result is that the terminal receives an ESC byte followed by `rror - ...`, not the intended tab-separated `error - ...`.
- The intent was clearly `\t`, matching the success line above it.
Suggested fix:
```c
cmdline_printf(cl, "%u\terror - %s\n", port_id, strerror(-ret));
```
Review-Result: ERROR
More information about the test-report
mailing list