summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-02-23 14:17:25 +0800
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-02-27 10:05:21 +0100
commitee68f18d1f0d943d93070eb8cb05598b8b7f0922 (patch)
tree25cacab76c74b83b7784b81488f5bf785e8245f7 /tools/perf/scripts/python/bin/stackcollapse-report
parentcf674f1a0c9893ee1acef832679562007a94250a (diff)
gpio: cdev: Don't check struct gpio_chip in gpio_chrdev_open()
It's harmless even if: chrdev_open() and cdev_device_del() run at the same time, and gpio_chrdev_open() gets called after the underlying GPIO chip has gone. The subsequent file operations check the availability of struct gpio_chip anyway. Don't check struct gpio_chip in gpio_chrdev_open(). Reviewed-by: Linus Walleij <linusw@kernel.org> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260223061726.82161-6-tzungbi@kernel.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions