[dpdk-dev] [PATCH v3] raw/ioat: fix parameter shadow warning
Thomas Monjalon
thomas at monjalon.net
Wed May 12 14:59:55 CEST 2021
12/05/2021 12:47, Kevin Laatz:
> In the function __idxd_completed_ops() we have a parameter shadow warning
> due to a local variable having the same name as one of the function
> parameters. This issue is fixed by simply renaming the local variable.
>
> This warning was caught when additions were made to the OVS codebase,
> which include adding calls the IOAT APIs. The OVS build passes the
> -Wshadow flag by default, allowing the warning to be seen when building
> OVS with DPDK 21.05-rc2.
>
> Fixes: 245efe544d8e ("raw/ioat: report status of completed jobs")
>
> Reported-by: Sunil Pai G <sunil.pai.g at intel.com>
> Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>
> Tested-by: Sunil Pai G <sunil.pai.g at intel.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks.
More information about the dev
mailing list