aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-25 02:03:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 17:55:12 -0400
commit6f0c3091e73df7ad1393c3400d168b9777b4a63c (patch)
treed2821fe64d3397c00c6b944dedea318075171017 /scripts/gdb/linux/utils.py
parent3a63d22425ff229c8fb51e7aec1de1e9a4e19b34 (diff)
serial: of_serial: check the return value of clk_prepare_enable()
The function clk_prepare_enable() may fail, and in that case it does not make sense to proceed. Let's check its return code and error out if it is a negative value. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions