summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-10-16 14:16:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 14:58:28 -0800
commit7f1dc2f384792f271833cd89a8608d189b63ea6d (patch)
treee44d4b423802179c43706873e636b13dc54fa6a9 /drivers
parent2fdd8c8c5304901fa7dbb2ce5dbc90a1984cee3d (diff)
downloadlinux-stable-7f1dc2f384792f271833cd89a8608d189b63ea6d.tar.gz
linux-stable-7f1dc2f384792f271833cd89a8608d189b63ea6d.tar.bz2
linux-stable-7f1dc2f384792f271833cd89a8608d189b63ea6d.zip
serial: 8250: sparse warning of incorrect type
fixed a sparse warning in 8250_core.c : incorrect type in assignment (different address spaces) the warning was because an unsigned char pointer was being assigned to a pointer of unsigned char __iomem type . Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/8250/8250.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h
index 458ad28338fe..b00836851061 100644
--- a/drivers/tty/serial/8250/8250.h
+++ b/drivers/tty/serial/8250/8250.h
@@ -56,7 +56,7 @@ struct old_serial_port {
unsigned int flags;
unsigned char hub6;
unsigned char io_type;
- unsigned char *iomem_base;
+ unsigned char __iomem *iomem_base;
unsigned short iomem_reg_shift;
unsigned long irqflags;
};