serial: tegra: Use unsigned types for RX and TX byte counts
authorJon Hunter <jonathanh@nvidia.com>
Tue, 5 May 2015 14:17:56 +0000 (15:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:12:19 +0000 (19:12 +0200)
commit0b0c1bdf7a197e7b58d0f8b1121c23b7b81ef84d
tree65862d5835b3df5d5b77326d60567bdb442f2ce8
parent853a699739fede12a5465be685f0f366276cb507
serial: tegra: Use unsigned types for RX and TX byte counts

The function tty_insert_flip_string() takes an argument "size" which is
of type size_t. This is an unsigned type. Update the count,
rx_bytes_requested and tx_bytes_requested in the tegra serial driver to
be unsigned integers so that an unsigned type is passed to
tty_insert_flip_string().

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c