diff options
author | Magnus Damm <damm@opensource.se> | 2012-05-09 06:49:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-09 22:11:30 (GMT) |
commit | 94e792ab66d696aad2e52c91bae4cfbeefe4c9f6 (patch) | |
tree | 7305a6bc6e602c2edbb03dfd7c13168fbafa8145 /drivers/tty/tty_ldisc.c | |
parent | 642180871bc91afebb6ccf40d1615a7dd33699a3 (diff) | |
download | linux-fsl-qoriq-94e792ab66d696aad2e52c91bae4cfbeefe4c9f6.tar.xz |
serial8250-em: clk_get() IS_ERR() error handling fix
Update the 8250_em driver to correctly handle the case
where no clock is associated with the device.
The return value of clk_get() needs to be checked with
IS_ERR() to avoid NULL pointer referencing.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions