summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorArka Mondal <arkamondalofficial@gmail.com>2026-08-16 03:27:26 +0900
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-08-31 00:52:42 +0100
commit2b498df75d6c29aa3e760127ae0f0003df598b53 (patch)
tree08943fdaae3b82dfdf785d09f8e3d1fd0e920719 /tools/lib/python/kdoc
parentd94787287a113a1326211647d5e0deed1e9de105 (diff)
downloadlinux-next-2b498df75d6c29aa3e760127ae0f0003df598b53.tar.gz
linux-next-2b498df75d6c29aa3e760127ae0f0003df598b53.zip
iio: gyro: adis16136: fix unprotected debugfs reads
The serial_number file operations are open coded and never call debugfs_file_get(), which debugfs_create_file_unsafe() requires. debugfs_remove_recursive() therefore does not wait for a read in progress, and unbind frees the iio_dev underneath it. Use debugfs_create_file() instead. Fixes: 9aaea09b4cbd ("gyro:adis16136: fix debugfs_simple_attr.cocci warnings") Signed-off-by: Arka Mondal <arkamondalofficial@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions