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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2fdd8c8c53
commit
7f1dc2f384
@@ -56,7 +56,7 @@ struct old_serial_port {
|
|||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
unsigned char hub6;
|
unsigned char hub6;
|
||||||
unsigned char io_type;
|
unsigned char io_type;
|
||||||
unsigned char *iomem_base;
|
unsigned char __iomem *iomem_base;
|
||||||
unsigned short iomem_reg_shift;
|
unsigned short iomem_reg_shift;
|
||||||
unsigned long irqflags;
|
unsigned long irqflags;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user