From: Jingoo Han Date: Thu, 8 Aug 2013 08:34:03 +0000 (+0900) Subject: serial: icom: fix casting warning X-Git-Tag: v3.12-rc1~182^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7daed81cd5ff6d4098b7f6342ba35988fcbb86;p=pandora-kernel.git serial: icom: fix casting warning icom_port->uart_port.membase is (unsigned char __iomem *); thus, casting (unsigned char __iomem *) is necessary to fix the following warning. Also, local symbols are staticized. drivers/tty/serial/icom.c:108:26: warning: symbol 'start_proc' was not declared. Should it be static? drivers/tty/serial/icom.c:116:26: warning: symbol 'stop_proc' was not declared. Should it be static? drivers/tty/serial/icom.c:123:25: warning: symbol 'int_mask_tbl' was not declared. Should it be static? drivers/tty/serial/icom.c:1569:54: warning: incorrect type in assignment (different address spaces) drivers/tty/serial/icom.c:1569:54: expected unsigned char [noderef] *membase drivers/tty/serial/icom.c:1569:54: got char * drivers/tty/serial/icom.c:1090:9: warning: cast truncates bits from constant value (ffffff7f becomes 7f) Signed-off-by: Jingoo Han Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed