Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1509283 > unrolled thread

[PATCH 5/5] cris/arch-v32: cryptocop: print a hex number after a 0x prefix

Started byUwe Kleine-König <u.kleine-koenig@pengutronix.de>
First post2016-10-26 15:00 +0200
Last post2016-10-26 15:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 5/5] cris/arch-v32: cryptocop: print a hex number after a 0x prefix Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2016-10-26 15:00 +0200

#1509283 — [PATCH 5/5] cris/arch-v32: cryptocop: print a hex number after a 0x prefix

FromUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date2016-10-26 15:00 +0200
Subject[PATCH 5/5] cris/arch-v32: cryptocop: print a hex number after a 0x prefix
Message-ID<swvYe-3Qk-11@gated-at.bofh.it>
It makes the result hard to interpret correctly if a base 10 number is
prefixed by 0x. So change to a hex number.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/cris/arch-v32/drivers/cryptocop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/cris/arch-v32/drivers/cryptocop.c b/arch/cris/arch-v32/drivers/cryptocop.c
index b5698c876fcc..91e3be5853e5 100644
--- a/arch/cris/arch-v32/drivers/cryptocop.c
+++ b/arch/cris/arch-v32/drivers/cryptocop.c
@@ -3151,7 +3151,7 @@ static void print_dma_descriptors(struct cryptocop_int_operation *iop)
 	printk("print_dma_descriptors start\n");
 
 	printk("iop:\n");
-	printk("\tsid: 0x%lld\n", iop->sid);
+	printk("\tsid: 0x%llx\n", iop->sid);
 
 	printk("\tcdesc_out: 0x%p\n", iop->cdesc_out);
 	printk("\tcdesc_in: 0x%p\n", iop->cdesc_in);
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web