mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: correct the use of print format
@ 2021-04-08 10:23 Kai Ye
  2021-04-08 10:23 ` [PATCH 1/2] crypto/atmel - use the correct " Kai Ye
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kai Ye @ 2021-04-08 10:23 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, linux-kernel, yekai13

According to Documentation/core-api/printk-formats.rst,
Use the correct print format. Printing an unsigned int value should use %u
instead of %d. Otherwise printk() might end up displaying negative numbers.

Kai Ye (2):
  crypto/atmel - use the correct print format
  crypto: hisilicon/sec_drv - use the correct print format

 drivers/crypto/atmel-i2c.c             | 2 +-
 drivers/crypto/atmel-sha.c             | 4 ++--
 drivers/crypto/hisilicon/sec/sec_drv.c | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-16 11:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 10:23 [PATCH 0/2] crypto: correct the use of print format Kai Ye
2021-04-08 10:23 ` [PATCH 1/2] crypto/atmel - use the correct " Kai Ye
2021-04-08 10:23 ` [PATCH 2/2] crypto: hisilicon/sec_drv " Kai Ye
2021-04-16 11:31 ` [PATCH 0/2] crypto: correct the use of " Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®