Skip to content

prandom: remove next_pseudo_random32

Markus Theil intel-gfx lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v11 patch 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/selftests: use prandom in selftestdrivers/gpu/drm/i915/selftests/i915_gem.c+4 -34 replies
2/3media: vivid: use prandomdrivers/media/test-drivers/vivid/vivid-vid-cap.c+3 -10 replies
3/3prandom: remove next_pseudo_random32include/linux/prandom.h+0 -60 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrzysztof KarasJani Nikula
SeriesR-b
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] prandom: remove next_pseudo_random32

next_pseudo_random32 implements a LCG with known bad statistical properties and is only used in two pieces of testing code. Remove and convert the remaining two users to the single PRNG interface in prandom.h

This removes another option of using an insecure PRNG.

Markus Theil (3):
drm/i915/selftests: use prandom in selftest
media: vivid: use prandom
prandom: remove next_pseudo_random32

 drivers/gpu/drm/i915/selftests/i915_gem.c        | 7 ++++---
 drivers/media/test-drivers/vivid/vivid-vid-cap.c | 4 +++-
 include/linux/prandom.h                          | 6 ------
 3 files changed, 7 insertions(+), 10 deletions(-)
Signature · 1 line
2.47.2