Re: [PATCH] powerpc/crypto: Remove virt_to_abs() usage in nx-842.c

From
Seth Jennings <hidden>
Date
2012-08-03 14:41:02
Also in
linuxppc-dev
Reply to
Michael Ellerman, 2012-08-03
On 08/02/2012 09:23 PM, Michael Ellerman wrote:
virt_to_abs() is just a wrapper around __pa(), use __pa() directly.

We should be including <asm/page.h> to get __pa(). abs_addr.h will be
removed shortly so drop that.

We were getting of.h via abs_addr.h so we need to include that directly.

Having done all that, clean up the ordering of the includes.

Signed-off-by: Michael Ellerman <redacted>
---
 drivers/crypto/nx/nx-842.c |   34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)
Looks good here.  Thanks for doing this!

Acked-by: Seth Jennings <redacted>
Thread (4 messages) 4 messages, 3 authors, last reply 2012-08-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help