summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlfie Varghese <alfievarghese22@gmail.com>2026-07-14 19:19:21 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-17 14:18:36 +0200
commit45b5a8372191774b842e98439d7e7efea0b0a78e (patch)
treed07803ac21b03997367fbee0cf85b0147dcb384e /tools/perf/scripts/python
parentbc5ca34cf5a0dc61608876d403a898a29781e24d (diff)
staging: greybus: uart: return tty_alloc_driver() errors
gb_tty_init() maps any tty_alloc_driver() failure to -ENOMEM. tty_alloc_driver() currently always returns -ENOMEM on failure, so this does not change behavior in practice. However, returning PTR_ERR(gb_tty_driver) is more correct and consistent with kernel conventions, preserving any future error codes the function might return. Signed-off-by: Alfie Varghese <alfievarghese22@gmail.com> Reviewed-by: Dan Carpenter <error27@gmail.com> Link: https://patch.msgid.link/20260714134921.817-1-alfievarghese22@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions