diff options
author | 2018-10-25 11:36:56 +0530 | |
---|---|---|
committer | 2018-11-05 13:36:20 +0100 | |
commit | 84de0b493ff62993c4047dd15318cc23f83923d3 (patch) | |
tree | ae1e2faff6f3ce91a1ffce706caf6ffaf6e69c23 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | EDAC, synopsys: Add platform specific structures for the DDR Controller (diff) | |
download | wireguard-linux-84de0b493ff62993c4047dd15318cc23f83923d3.tar.xz wireguard-linux-84de0b493ff62993c4047dd15318cc23f83923d3.zip |
EDAC, synopsys: Add error handling for the of_device_get_match_data() result
The function of_device_get_match_data() can return NULL in case of
error. Add error handling for the same in the mc_probe() function.
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: Mauro Carvalho Chehab <mchehab@kernel.org>
CC: Michal Simek <michal.simek@xilinx.com>
CC: amit.kucheria@linaro.org
CC: devicetree@vger.kernel.org
CC: leoyang.li@nxp.com
CC: linux-arm-kernel@lists.infradead.org
CC: linux-edac <linux-edac@vger.kernel.org>
CC: mark.rutland@arm.com
CC: robh+dt@kernel.org
CC: sudeep.holla@arm.com
Link: http://lkml.kernel.org/r/1540447621-22870-2-git-send-email-manish.narani@xilinx.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions