Avoid using perror
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | checkpatches: warn if perror is useddevtools/ | +1 | 0 replies | |
| 2/4 | bus/dpaa: replace perror with logdrivers/ | +4 | 0 replies | |
| 3/4 | telemetry: replace perror with loglib/ | +2 | 1 reply | |
| 4/4 | common/dpaax: replace use of perror with logdrivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Bruce Richardson |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | A-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Avoid using perror
The DPDK uses its own logging library exclusively and drivers and libraries should not be printing directly. One function that was missed was perror() and some code was using it.
This series adds a checkpatch warning and fixes the places that were using it.
Stephen Hemminger (4):
checkpatches: warn if perror is used
bus/dpaa: replace perror with log
telemetry: replace perror with log
common/dpaax: replace use of perror with log
devtools/checkpatches.sh | 2 +- drivers/bus/dpaa/base/qbman/process.c | 8 ++++---- drivers/common/dpaax/dpaa_of.c | 2 +- lib/telemetry/telemetry.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.51.0