aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2018-04-26 15:46:49 +0530
committerBorislav Petkov <[email protected]>2018-05-02 13:57:49 +0200
commita66bdf5d11b0ba8e473ef90ba7e0e6399b5fc825 (patch)
tree751641cbbf78318277da3da5cc19366dfdecd2b7 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentcc7f3f132658289b6661ab8294ab08a9d32ea026 (diff)
EDAC, ghes: Add a null pointer check in ghes_edac_unregister()
Add a null check for ghes_pvt, before dereferencing it. The pointer could still be null in case the return path is taken before initialising ghes_pvt in the registration function. Reviewed-by: Toshi Kani <[email protected]> Signed-off-by: Sughosh Ganu <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: linux-edac <[email protected]> Cc: lkml <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions