summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-08-28 17:58:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-12 15:54:44 +0200
commitfd6f7ad2fd4d53fa14f4fd190f9b05d043973892 (patch)
tree148c2f6ab0d6b4080ecbff4fda002ffc9defab3b /tools/perf/scripts/python/bin/task-analyzer-record
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadkernel-fd6f7ad2fd4d53fa14f4fd190f9b05d043973892.tar.gz
driver core: return an error when dev_set_name() hasn't happened
The commit d21fdd07cea4 ("driver core: Return proper error code when dev_set_name() fails") rewrote the logic of handling the dev_set_name() error codes, but missed the point that initially set error value to -EINVAL might be rewritten and hence the error path can't be triggered at some circumstances. To fix this, make sure that error variable is set to -EINVAL when other conditionals are false. Reported-by: syzbot+bdfb03b1ec8b342c12cb@syzkaller.appspotmail.com Fixes: d21fdd07cea4 ("driver core: Return proper error code when dev_set_name() fails") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230828145824.3895288-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
m/sun4i: dsi: Remove unused drv from driver contextSamuel Holland 2019-12-26drm/sun4i: dsi: Add Allwinner A64 MIPI DSI supportJagan Teki 2019-12-26drm/sun4i: dsi: Handle bus clock via regmap_mmio_attach_clkJagan Teki 2019-12-26drm/sun4i: dsi: Get the mod clock for A31Jagan Teki 2019-12-09drm/panel: decouple connector from drm_panelSam Ravnborg 2019-10-08drm/sun4i: dsi: Fix video start delay computationJagan Teki 2019-10-07drm/sun4i: sun6i_mipi_dsi: fix DCS long write packet lengthIcenowy Zheng 2019-10-07drm/sun4i: dsi: fix the overhead of the horizontal front porchIcenowy Zheng 2019-10-03Merge drm/drm-next into drm-misc-nextMaxime Ripard 2019-10-03Revert "drm/sun4i: dsi: Change the start delay calculation"Icenowy Zheng 2019-10-03drm/sun4i: dsi: Fix TCON DRQ set bitsJagan Teki 2019-10-03drm/sun4i: sun6i_mipi_dsi: Add VCC-DSI regulator supportJagan Teki 2019-09-19Merge tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drmLinus Torvalds