net/qede/base: fix out-of-bound memory access
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:53:28 +0000 (23:53 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:44 +0000 (18:59 +0200)
commit68cd48d0594aae257e2c5c5e806d36e5ce95b825
tree3bd255c1b308c66529e7b3b6279e3abe69ef49d6
parente06959e66210e33c1408c3e1280050f2d7c9c239
net/qede/base: fix out-of-bound memory access

Fix out-of-bound memory access on Management FW interaction for
resource allocation

Fixes: 252b88b58f70 ("net/qede/base: add selftest and query sensor info")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_mcp.c