net/dpaa2: fix loop increment
authorShreyansh Jain <shreyansh.jain@nxp.com>
Thu, 25 Apr 2019 13:34:56 +0000 (19:04 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commit3b93bed6b1d75b150b2b7e82ff90f476940d241b
treea77eabdc6ba7d73cd665bdc803dce98600ceebcc
parent8efc716f7cadead969e3ca12c0d9ba2f2aa8a8f6
net/dpaa2: fix loop increment

Identified by LGTM, the loop was incorrectly incrementing a different
variable and conditional on another.

Fixes: fe2b986ac662 ("net/dpaa2: support generic flow")

Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/dpaa2/dpaa2_flow.c