net/nfp: fix potential integer overflow
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Mon, 8 Apr 2019 09:39:56 +0000 (10:39 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commit3243f7c0d8e445fe7607a2dcac24bffffa830cae
tree6675c36956fe3c7026c5af25c2ecd8f96b37ab18
parent0c08589d9eeaef341e154b2ddbc29699dbd16e17
net/nfp: fix potential integer overflow

Coverity issue: 277204
Fixes: defb9a5dd156 ("nfp: introduce driver initialization")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c