diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2011-12-14 19:54:11 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-12-15 04:05:27 +0400 |
commit | da27468655540b083525177f5dc6f3b1f6e3b869 (patch) | |
tree | 7ec8e5044d48cc33cc7126a36021bd3fe4b57d90 /arch/arm/mach-omap2/include | |
parent | 2fd149645eb46d26130d7070c6de037dddf34880 (diff) | |
download | linux-da27468655540b083525177f5dc6f3b1f6e3b869.tar.xz |
ARM: OMAP2+: UART: Fix compilation/sparse warnings
Fixes below compilation warning.
drivers/tty/serial/omap-serial.c: In function 'serial_omap_irq':
drivers/tty/serial/omap-serial.c:228:29: warning: 'ch' may be used uninitialized in this function [-Wuninitialized]
Fix below sparse warning.
drivers/tty/serial/omap-serial.c:392:52: warning: incorrect type in argument 2 (different signedness)
drivers/tty/serial/omap-serial.c:392:52: expected int *status
drivers/tty/serial/omap-serial.c:392:52: got unsigned int *<noident>
Reported-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes)
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/include')
0 files changed, 0 insertions, 0 deletions