diff options
author | Thomas Gleixner <[email protected]> | 2018-04-22 18:23:54 +0200 |
---|---|---|
committer | Kees Cook <[email protected]> | 2018-04-24 19:50:09 -0700 |
commit | 964dfce9c2b323a9a9d0bd6764e0f530b40104e4 (patch) | |
tree | f8d6795fe6f37ac9f2ba4083c14cad22d5a9b354 /drivers/fpga/fpga-bridge.c | |
parent | 2163398192f6a53e84765cfe3e5a2088437c3d2d (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 <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Segher Boessenkool <[email protected]>
Cc: Kernel Hardening <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: Colin Cross <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Alasdair Kergon <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions