RAS: ras_common: Add null pointer check for error record probe function
authorSughosh Ganu <sughosh.ganu@arm.com>
Sat, 12 May 2018 05:32:31 +0000 (11:02 +0530)
committerSughosh Ganu <sughosh.ganu@arm.com>
Thu, 26 Jul 2018 16:28:45 +0000 (21:58 +0530)
commit4576f73caa99c95029b3abe0c2893b83d635ebf6
tree82fec9f72f12b563ecbeff3be20d559cb524decc
parent46b69e3de1b7817f4d8ed46fe1975f4bf630f0ec
RAS: ras_common: Add null pointer check for error record probe function

Add a null pointer check for the error record probe
function -- avoids a panic in case a platform has not defined it.

Change-Id: I1139fa0df33297a12ec16615cacd07540925f991
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
lib/extensions/ras/ras_common.c