Skip to content

hwrng: histb: fix the FIFO batch timeout

David Yang linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hwrng: histb - fix read timeoutdrivers/char/hw_random/histb-rng.c+9 -40 replies
2/2hwrng: histb - use device messagesdrivers/char/hw_random/histb-rng.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] hwrng: histb: fix the FIFO batch timeout

The poll timeout in histb_rng_wait() was derived for a single word, while the device feeds the FIFO in batches. Fix the timeout, and print with dev_*() so that the messages name the device.

v2:
- reword
v1: https://lore.kernel.org/r/[email protected]

David Yang (2):
hwrng: histb - fix read timeout
hwrng: histb - use device messages

 drivers/char/hw_random/histb-rng.c | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0