aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorShawn Guo <[email protected]>2013-02-18 05:15:36 +0000
committerGreg Kroah-Hartman <[email protected]>2013-02-18 19:05:14 +0000
commitf30e826069918da0876493e2de9ba13287b68e0a (patch)
tree54cfe2e47851a241323d94be39fb4c6428ad5e29 /drivers/tty/serial/sccnxp.c
parentserial: tegra: assume CONFIG_OF (diff)
downloadkernel-f30e826069918da0876493e2de9ba13287b68e0a.tar.gz
kernel-f30e826069918da0876493e2de9ba13287b68e0a.zip
serial: imx: fix uninitialized variable warning
Commit 677fe55 (serial: imx: Fix recursive locking bug) introduces an uninitialized variable warning as below. CC drivers/tty/serial/imx.o drivers/tty/serial/imx.c: In function ‘imx_console_write’: include/linux/spinlock.h:340:2: warning: ‘flags’ may be used uninitialized in this function [-Wuninitialized] drivers/tty/serial/imx.c:1214:16: note: ‘flags’ was declared here Initialize the variable to suppress the warning. Signed-off-by: Shawn Guo <[email protected]> Acked-by: Dirk Behme <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions