Thread (9 messages) 9 messages, 4 authors, 2010-08-20

Re: [PATCH 2/2] serial: 8250pci: Recast inb return value

From: Alan Cox <hidden>
Date: 2010-08-17 09:49:54
Also in: lkml

On Tue, 17 Aug 2010 09:59:07 +0200
Michal Simek [off-list ref] wrote:
inb returns u8 that's why is necessary to do recast.
ret is an int, inb returns a u8, neither are pointers and the cast
required is implict and defined by the spec.

drivers/serial/8250_pci.c: In function 'pci_ite887x_init':
drivers/serial/8250_pci.c:825: warning: cast to pointer from integer of different size
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help