summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2017-08-25 07:35:51 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-25 20:07:07 -0700
commit2207d182c14294d78b98142f0b6a16bea5e8b0fb (patch)
tree55a028206ea975a31536c86426cf344131cf4663 /net
parent681e9e867ea06219d26f02ae4a93979734b9ad44 (diff)
downloadlinux-stable-2207d182c14294d78b98142f0b6a16bea5e8b0fb.tar.gz
linux-stable-2207d182c14294d78b98142f0b6a16bea5e8b0fb.tar.bz2
linux-stable-2207d182c14294d78b98142f0b6a16bea5e8b0fb.zip
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 'net')
0 files changed, 0 insertions, 0 deletions