On Mon, May 10, 2021 at 12:55:14PM +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 issue is fixed by simply renaming the local variable. > > This warning was discovered during an OVS build with DPDK 21.05-rc2. The > OVS build passes the -Wshadow flag by default, allowing the warning to be > seen. > > Fixes: 245efe544d8e ("raw/ioat: report status of completed jobs") > > Reported-by: Sunil Pai G <sunil.pa...@intel.com> > Signed-off-by: Kevin Laatz <kevin.la...@intel.com> > Tested-by: Sunil Pai G <sunil.pa...@intel.com> > > --- Acked-by: Bruce Richardson <bruce.richard...@intel.com>
- [dpdk-dev] [PATCH] raw/ioat: fix parameter shadow warning Kevin Laatz
- Re: [dpdk-dev] [PATCH] raw/ioat: fix parameter shado... Pai G, Sunil
- Re: [dpdk-dev] [PATCH] raw/ioat: fix parameter shado... Bruce Richardson
- Re: [dpdk-dev] [PATCH] raw/ioat: fix parameter s... Laatz, Kevin
- [dpdk-dev] [PATCH v2] raw/ioat: fix parameter shadow... Kevin Laatz
- Re: [dpdk-dev] [PATCH v2] raw/ioat: fix paramete... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2] raw/ioat: fix paramete... David Marchand
- Re: [dpdk-dev] [PATCH v2] raw/ioat: fix para... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2] raw/ioat: fix ... Thomas Monjalon
- [dpdk-dev] [PATCH v3] raw/ioat: fix parameter sh... Kevin Laatz
- Re: [dpdk-dev] [PATCH v3] raw/ioat: fix para... Thomas Monjalon