DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/4] Avoid using perror
@ 2025-12-28 20:10 Stephen Hemminger
  2025-12-28 20:10 ` [PATCH 1/4] checkpatches: warn if perror is used Stephen Hemminger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stephen Hemminger @ 2025-12-28 20:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

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(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-28 20:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-28 20:10 [PATCH 0/4] Avoid using perror Stephen Hemminger
2025-12-28 20:10 ` [PATCH 1/4] checkpatches: warn if perror is used Stephen Hemminger
2025-12-28 20:10 ` [PATCH 2/4] bus/dpaa: replace perror with log Stephen Hemminger
2025-12-28 20:10 ` [PATCH 3/4] telemetry: " Stephen Hemminger
2025-12-28 20:10 ` [PATCH 4/4] common/dpaax: replace use of " Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).