Skip to content

Reed-Solomon lib parameter fix and test fix

Cody Planteen lkml oe-lkp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rslib: Minimum symbol size for a Reed-Solomon code is 2 bits not 1 bitinclude/linux/rslib.h lib/reed_solomon/reed_solomon.c+3 -30 replies
2/2rslib: test: Yield to prevent RCU stall messages and fix comment typoslib/reed_solomon/test_rslib.c+11 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Reed-Solomon lib parameter fix and test fix

The Reed-Solomon API allows creation of an invalid code symbol length. The recently added test also prints a lot of RCU stall messages. This patchset fixes both.

Cody Planteen (2):
rslib: Minimum symbol size for a Reed-Solomon code is 2 bits not 1 bit
rslib: test: Yield to prevent RCU stall messages and fix comment typos

 include/linux/rslib.h           |  4 ++--
 lib/reed_solomon/reed_solomon.c |  2 +-
 lib/reed_solomon/test_rslib.c   | 15 +++++++++++----
 3 files changed, 14 insertions(+), 7 deletions(-)
Signature · 1 line
2.20.1