no printf in drivers code

Chautru, Nicolas nicolas.chautru at intel.com
Sat Feb 4 01:46:09 CET 2023


> From: Thomas Monjalon <thomas at monjalon.net>
> 
> 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

Will push a patch for this next week. These actually currently only occur when called indirectly from test application, but still no concern to replace. 

> 	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.
> 



More information about the dev mailing list