net/qede/base: prevent driver load with invalid resources
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:24 +0000 (13:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:51 +0000 (19:02 +0200)
commit978580d86cc10a59efb083475e9cdb463d962636
tree46a5dcaaa26bdc9b599cd8cd17210028a05f1201
parentde5588af0b0a23c4fa49dddcb125ee59b63bb179
net/qede/base: prevent driver load with invalid resources

Prevent storage drivers from attempting to load with invalid resources.

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