]> git.baikalelectronics.ru Git - uboot.git/commit
fpga: altera: cyclon2: Check function pointer before calling
authorAlexander Dahl <ada@thorsis.com>
Fri, 28 Jun 2019 12:41:23 +0000 (14:41 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jul 2019 08:21:15 +0000 (10:21 +0200)
commit6b1f4c794665e200f6d49dca6774193421f497a5
tree036058118bae0f60cd3d2ffe1d5a977bb18476a3
parente340961d8fbd8a99b841a6e50c9b22c809f1a068
fpga: altera: cyclon2: Check function pointer before calling

As already done for the 'pre' function, a check is added to not follow a
NULL pointer, if somebody has not assigned a 'post' function.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
drivers/fpga/cyclon2.c