summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-10-30 18:27:54 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-04 17:49:47 +0100
commit815daedc318b2f9f1b956d0631377619a0d69d96 (patch)
tree2a0405856e72815f0ce85f678250f3e9b77fd1d1 /tools/perf/scripts/python/export-to-sqlite.py
parenta56fdd874301c3a2d27097a7084467ab5bdc6815 (diff)
downloadlinux-815daedc318b2f9f1b956d0631377619a0d69d96.tar.gz
linux-815daedc318b2f9f1b956d0631377619a0d69d96.tar.bz2
linux-815daedc318b2f9f1b956d0631377619a0d69d96.zip
ACPI: battery: Check for error code from devm_mutex_init() call
Even if it's not critical, the avoidance of checking the error code from devm_mutex_init() call today diminishes the point of using devm variant of it. Tomorrow it may even leak something. Add the missed check. Fixes: 0710c1ce5045 ("ACPI: battery: initialize mutexes through devm_ APIs") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20241030162754.2110946-1-andriy.shevchenko@linux.intel.com [ rjw: Added 2 empty code lines ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions