summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sirfsoc_uart.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-05 10:04:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 13:07:05 -0700
commit7f25301d83432efb0e7bb3fba288001a7bb03fdb (patch)
tree5f748f20f5f4bbd9f6a526f14e2ffe9485f060eb /drivers/tty/serial/sirfsoc_uart.c
parentc36d6006d8a33ae3a0befb120c9878a634775786 (diff)
downloadop-kernel-dev-7f25301d83432efb0e7bb3fba288001a7bb03fdb.zip
op-kernel-dev-7f25301d83432efb0e7bb3fba288001a7bb03fdb.tar.gz
serial: omap: fix potential NULL pointer dereference in serial_omap_runtime_suspend()
The dereference to 'up' should be moved below the NULL test. Introduced by commit ddd85e225c8885b5e4419b0499ab27100e7c366a (serial: omap: prevent runtime PM for "no_console_suspend") Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sirfsoc_uart.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud