Commit 844190db authored by Dan Streetman's avatar Dan Streetman Committed by Herbert Xu

crypto: nx - use be32_to_cpu for __be32 field in debug msg

One of the debug messages in the NX 842 PowerNV driver is missing
the required be32_to_cpu() wrapper when accessing the __be32 field
csb->count.  Add the wrapper so the message will show the correct count.
Signed-off-by: default avatarDan Streetman <ddstreet@ieee.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 7371c0a5
...@@ -346,7 +346,8 @@ static int wait_for_csb(struct nx842_workmem *wmem, ...@@ -346,7 +346,8 @@ static int wait_for_csb(struct nx842_workmem *wmem,
} }
/* successful completion */ /* successful completion */
pr_debug_ratelimited("Processed %u bytes in %lu us\n", csb->count, pr_debug_ratelimited("Processed %u bytes in %lu us\n",
be32_to_cpu(csb->count),
(unsigned long)ktime_us_delta(now, start)); (unsigned long)ktime_us_delta(now, start));
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment