net/qede/base: add check for get NVM info return code
authorRasesh Mody <rasesh.mody@cavium.com>
Thu, 5 Jan 2017 07:03:58 +0000 (23:03 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:53 +0000 (19:40 +0100)
commitdb288034eaa55890fa6b996dd1aac44c214a8bec
tree99f96833e438581e632f872ca33169b1a1a3c1b8
parentfe96c1e8e34ac79bc016fdd76de22d29471fad7d
net/qede/base: add check for get NVM info return code

Fail ecore_get_hw_info() in case ecore_hw_get_nvm_info() fails.

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