[dpdk-dev] [PATCH] raw/ioat: fix parameter shadow warning
Bruce Richardson
bruce.richardson at intel.com
Mon May 10 11:02:42 CEST 2021
On Fri, May 07, 2021 at 05:20:25PM +0000, Kevin Laatz wrote:
> 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 is fixed by simply renaming the local variable.
>
> 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>
> ---
Please provide details in the commit log as to how/when this was seen. I
believe this issue was seen only with OVS because it passes the -Wshadow
flag when building - something DPDK probably should do, but doesn't. Is
that correct?
More information about the dev
mailing list