[PATCH 0/4] Avoid using perror
David Marchand
david.marchand at redhat.com
Tue Feb 3 15:06:32 CET 2026
On Sun, 28 Dec 2025 at 21:17, Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> 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(-)
Series applied, thanks.
--
David Marchand
More information about the dev
mailing list