On Thu, 7 Feb 2002, Steven J. Hill wrote: > Please apply this too. Thanks. [...] > printk("%s at 0x%03x-0x%03x,0x%03x on irq %d", hwif->name, > - hwif->io_ports[IDE_DATA_OFFSET], > - hwif->io_ports[IDE_DATA_OFFSET]+7, > - hwif->io_ports[IDE_CONTROL_OFFSET], hwif->irq); > + (unsigned int) hwif->io_ports[IDE_DATA_OFFSET], > + (unsigned int) hwif->io_ports[IDE_DATA_OFFSET]+7, > + (unsigned int) hwif->io_ports[IDE_CONTROL_OFFSET], hwif->irq); Why is it needed? hwif->io_ports[...] or ide_ioreg_t is short which gets promoted to int due to varargs automatically. BTW, please send patches to the list as inlined plain text if possible. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available +