diff options
author | Darren Hart <dvhart@linux.intel.com> | 2013-07-29 15:15:07 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 15:27:48 -0700 |
commit | e26439ce03f0808f5d797ca33f180fdb8258335a (patch) | |
tree | b0e346bbe2bd9487658b468403ce189538baade2 /drivers/tty/serial/ifx6x60.c | |
parent | e469719344ae1cdde90a4c8c3746588f8c86f6cf (diff) | |
download | op-kernel-dev-e26439ce03f0808f5d797ca33f180fdb8258335a.zip op-kernel-dev-e26439ce03f0808f5d797ca33f180fdb8258335a.tar.gz |
serial: pch_uart: Fix signed-ness and casting of uartclk related fields
Storing one struct per known board would be overkill. Pre-cast the
driver_data pointer to an unsigned long to avoid the pointer to int
compiler warning:
drivers/tty/serial/pch_uart.c:431:10: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
Unify the signed-ness of the baud and uartclk types throughout the
driver.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/ifx6x60.c')
0 files changed, 0 insertions, 0 deletions