summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSourabh Jain <sourabhjain@linux.ibm.com>2026-07-27 11:04:15 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-08-03 14:05:55 +0530
commite65b526affa621b50646cafdf6b06505af07032e (patch)
treee873c3c8dfa2a9ece63a34b87326d1100a21a3ad /tools/perf/scripts/python/exported-sql-viewer.py
parent516a254918453ec99660201263d01189c082332c (diff)
powerpc/pseries: Handle and log pseries-wdt registration failures
The pseries watchdog initialization registers the pseries-wdt platform device using platform_device_register_simple(), but currently ignores its return value. Check the returned pointer for errors, log a descriptive error message when registration fails, and propagate the failure code to the caller. This avoids silently ignoring platform device registration failures. Cc: stable@vger.kernel.org Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260727053416.276317-3-sourabhjain@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions