summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-07-22 15:48:37 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-07-26 19:19:36 +0100
commit1135d6875d2dbda3f6ec718f3421a6ce4378bd63 (patch)
tree654c482cb602f374cf9843d139361a6c732050f3 /tools/perf/scripts/python/netdev-times.py
parent8dc6d241fc1f50231d56d6600ef23a5ee4a53967 (diff)
iio: chemical: sgp30: Handle IAQ thread creation failure
kthread_run() can fail and return an error pointer, but sgp_probe() stores it and returns success, so the device is registered without its IAQ thread and sgp_remove() later passes the error pointer to kthread_stop(). Return the error from probe instead. Fixes: ce514124161a ("iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors") Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions