[v1 01/10] bus/dpaa: avoid using same structure and variable name

Stephen Hemminger stephen at networkplumber.org
Wed May 28 16:26:49 CEST 2025


On Wed, 28 May 2025 17:25:04 +0530
vanshika.shukla at nxp.com wrote:

> From: Hemant Agrawal <hemant.agrawal at nxp.com>
> 
> rte_dpaa_bus was being used as structure and variable name both.
> 
> Signed-off-by: Jun Yang <jun.yang at nxp.com>
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---

That is perfectly ok in C.
Would prefer that you not use rte_ for variable names that are
local to the driver.


More information about the dev mailing list