no printf in drivers code
Walsh, Conor
conor.walsh at intel.com
Fri Feb 3 17:38:19 CET 2023
> Hello,
>
> We have too many drivers using printf() instead of rte_log().
> Please propose a plan to replace or remove the calls to printf().
> If no plan, I could propose one but you may not like it :)
>
> Affected drivers are:
> baseband/acc
> bus/dpaa
> bus/fslmc
> crypto/caam_jr
> crypto/ccp
> dma/ioat
> net/dpaa
> net/dpaa2
> net/nfp
> net/qede
> net/txgbe
> raw/ifpga
>
> PS: printf is allowed for tests and dumps.
Hi Thomas,
I sent a patch to the mailing list to swap the printf in the IOAT driver to rte log.
I didn't change the fptintf's within the dump function as advised above.
Thanks,
Conor.
More information about the dev
mailing list