Re: questions regarding function autoconfig(); drivers/serial/8250.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roel Kluin wrote:
> In drivers/serial/8250.c:995 it reads:
> 
> if (!up->port.iobase && !up->port.mapbase && !up->port.membase)
> 	return;
> 
> As you can see the test !up->port.mapbase is duplicated, which makes no sense.
> maybe a different test was intended here?
Looking twice exposes that the second mapbase is actually a membase.  So
it looks right to me.

Best regards
Uwe

-- 
Uwe Kleine-König

http://www.google.com/search?q=30+hours+and+4+days+in+seconds
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux