Thread (5 messages) flat view 5 messages, 2 authors, 2007-03-15

Re: [PATCH] powerpc: fix invalid pointer usage in ucc_slow_init()

From: Kumar Gala <hidden>
Date: 2007-03-15 14:54:40

On Mar 15, 2007, at 9:48 AM, Timur Tabi wrote:
In two places, ucc_slow_init() passes a physical address instead of  
the
virtual address to functions that were expecting the latter,  
causing a kernel
panic.  us_info->regs contains the physical address of the UCC  
register set.
The registers are ioremap'd to kernel space, and the virtual  
pointers are
stored in us_regs.  The code was using us_info->regs when it should  
have been
using us_regs.

Signed-off-by: Timur Tabi <redacted>
---
It's my understanding that there aren't any in kernel users of  
ucc_slow at the moment, is that true?

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help