aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-10-31 11:05:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-06 17:12:05 +0100
commitcbd90e746148339ddbf6b980438b0adad990321e (patch)
tree70285041cdcd30fedc248d3eae351153210961e7 /tools/perf/scripts/python/stackcollapse.py
parent3d608a591b2b6a2cd81d6258df6d1766db05567e (diff)
serial: mctrl_gpio: Fix passing zero to 'ERR_PTR' warning
drivers/tty/serial/serial_mctrl_gpio.c:214 mctrl_gpio_init() warn: passing zero to 'ERR_PTR' gpiod_to_irq() never return 0, so remove the useless test and make code more clear. Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20201031030530.1304-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions