]> git.sur5r.net Git - u-boot/commit
arm64: zynqmp: Check return value from calloc
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jun 2018 07:42:41 +0000 (09:42 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:54:05 +0000 (08:54 +0200)
commit1e3e68f109d6f4ac934319dee9e7928cfdce895c
treeaebc32db43eb51a195644eeeb65f82b4cdd80f13
parentb6911780b5b494bc2a455039082990c960190ddc
arm64: zynqmp: Check return value from calloc

calloc() can fail and return NULL. The patch is checking return value
and return in case of error.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c