sfc: check for allocation failure
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Sep 2013 15:07:27 +0000 (18:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 17:07:47 +0000 (13:07 -0400)
commit42a5a5c128ad33fe25867b838a4dade127b57aee
treea5ce987b878e45afdda83e84a7670fe9b7d929f9
parentb163b42fd230ef81eae09a6fe493a33ce17b8f86
sfc: check for allocation failure

It upsets static analyzers when we don't check for allocation failure.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/falcon.c