be2net: return -ENOMEM for memory allocation failures
authorKalesh AP <kalesh.purayil@emulex.com>
Thu, 17 Jul 2014 10:50:22 +0000 (16:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:38:14 +0000 (16:38 -0700)
commit6b5686891c9858aea914c1d1c965d6bbc8a0521d
treeefc3d2fb6874e9d4b9fc9a2922528f71438f4697
parentfd45160cef0a4782cde70ec4cdeb9421ea8460b6
be2net: return -ENOMEM for memory allocation failures

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c