From: Darren Hart Date: Mon, 29 Jul 2013 22:15:07 +0000 (-0700) Subject: serial: pch_uart: Fix signed-ness and casting of uartclk related fields X-Git-Tag: v3.12-rc1~182^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26439ce03f0808f5d797ca33f180fdb8258335a;p=pandora-kernel.git 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 Reported-by: kbuild test robot Cc: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed