Re: Misc questions about 8250_core.c

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

 



On 06/03/2015 23:35, Måns Rullgård wrote:

> I can test a patch on some similar hardware if needed.  Do note that
> nothing is visibly broken as is, so any patch will only be correcting
> theoretical problems.

I'm confused. You make it sound as if an out-of-bound access
is not a "real" problem?

The code boils down to:

static const u8 in[7], out[5];

then, when the argument is UART_SCR, read in[7] or out[7] to
determine where to __raw_readl() or __raw_writel().

Are you saying there's no point in fixing that, because there
is no visible brokenness? Can you confirm that your test runs
hit serial8250_suspend_port?

(I will sprinkle the code with printk, if I ever I get my
port working.)

Regards.

--
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