]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: gem: Check return value from memalign/malloc
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jun 2018 13:20:35 +0000 (15:20 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:59:04 +0000 (13:59 -0500)
commit5b2c9a6ce3ce66796e8c375133da8340c7ab2adc
treedc19913f643f1f0f9eacb2cc13570f595a7ec078
parent7674b64d788e0e7a65f26a1cc81d583a54987282
net: gem: Check return value from memalign/malloc

Functions can return NULL in case of error that's why checking return
value is needed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c