path: root/lib
diff options
authorThomas Gleixner <>2018-04-22 18:23:54 +0200
committerKees Cook <>2018-04-24 19:50:09 -0700
commit964dfce9c2b323a9a9d0bd6764e0f530b40104e4 (patch)
treef8d6795fe6f37ac9f2ba4083c14cad22d5a9b354 /lib
parent2163398192f6a53e84765cfe3e5a2088437c3d2d (diff)
mtd: rawnand: diskonchip: Allocate rs control per instance
The reed solomon library is moving the on stack decoder buffers into the rs control structure. That would break the DoC driver because multiple instances share the same control structure and can operate in parallel. At least in theory.... Instantiate a rs control instance per DoC device to avoid that. The per instance buffer is fine as the operation on a single DoC instance is serialized by the MTD/NAND core. Signed-off-by: Thomas Gleixner <> Acked-by: Boris Brezillon <> Cc: Tony Luck <> Cc: Kees Cook <> Cc: Segher Boessenkool <> Cc: Kernel Hardening <> Cc: Richard Weinberger <> Cc: Mike Snitzer <> Cc: Anton Vorontsov <> Cc: Colin Cross <> Cc: Andrew Morton <> Cc: David Woodhouse <> Cc: Alasdair Kergon <> Signed-off-by: Kees Cook <>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions