diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-08-25 07:35:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-25 20:07:07 -0700 |
commit | 2207d182c14294d78b98142f0b6a16bea5e8b0fb (patch) | |
tree | 55a028206ea975a31536c86426cf344131cf4663 /include | |
parent | 681e9e867ea06219d26f02ae4a93979734b9ad44 (diff) | |
download | linux-2207d182c14294d78b98142f0b6a16bea5e8b0fb.tar.bz2 |
net: sxgbe: check memory allocation failure
Check memory allocation failure and return -ENOMEM in such a case, as
already done few lines below for another memory allocation.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions