From: Alexander Shiyan Date: Sat, 15 Feb 2014 10:59:01 +0000 (+0400) Subject: serial: max310x: Fix sparse warnings X-Git-Tag: v3.15-rc1~138^2~40 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fd927f578e96fe56f1acbfe97e6c71e6c3a4b11;p=pandora-kernel.git serial: max310x: Fix sparse warnings sparse warnings: (new ones prefixed by >>) >> drivers/tty/serial/max310x.c:906:45: sparse: incorrect type in argument 2 (different address spaces) drivers/tty/serial/max310x.c:906:45: expected void const [noderef] *from drivers/tty/serial/max310x.c:906:45: got struct serial_rs485 * >> drivers/tty/serial/max310x.c:938:35: sparse: incorrect type in argument 1 (different address spaces) drivers/tty/serial/max310x.c:938:35: expected void [noderef] *to drivers/tty/serial/max310x.c:938:35: got struct serial_rs485 * Reported-by: kbuild test robot Signed-off-by: Alexander Shiyan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed