[PATCH v3 17/30] baseband: replace use of fixed size rte_memcpy

Stephen Hemminger stephen at networkplumber.org
Fri Apr 5 17:02:46 CEST 2024


On Fri, 5 Apr 2024 01:22:59 +0000
"Chautru, Nicolas" <nicolas.chautru at intel.com> wrote:

> Hi Stephen, 
> 
> Your script is causing some odd line split which are not required I believe. Also doing mix of space and tabs. 
> 
> -		rte_memcpy(&desc->req.fcw_ld, &desc_first->req.fcw_ld, ACC_FCW_LD_BLEN);
> +		memcpy(&desc->req.fcw_ld, &desc_first->req.fcw_ld,
> +		       ACC_FCW_LD_BLEN);

The coccinelle spatch tool seems to still think that max line length should be 80.
Will fix these manually.


More information about the dev mailing list