Skip to contentSkip to conversation

rslib updates for v4.18-rc1

GIT PULL Kees Cook 1 participant 1 message Jun 4, 2018

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull these rslib changes for v4.18-rc1. Thomas asked me to carry this series since I've been coordinating VLA removal, and he's got enough trees to worry about. :) This has been in -next for a while now.

Thanks!

-Kees

The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71e:

Linux 4.17-rc2 (2018-04-22 19:20:09 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/rslib-v4.18-rc1

for you to fetch changes up to 45888b40d2a6221d46bb69959e2600ddba71cc1f:

rslib: Allocate decoder buffers to avoid VLAs (2018-04-24 19:50:10 -0700)

----------------------------------------------------------------
Refactors rslib and callers to provide a per-instance allocation area instead of performing VLAs on the stack.

----------------------------------------------------------------
Thomas Gleixner (10):
rslib: Add GFP aware init function dm/verity_fec: Use GFP aware reed solomon init
rslib: Cleanup whitespace damage
rslib: Cleanup top level comments
rslib: Add SPDX identifiers
rslib: Remove GPL boilerplate
rslib: Simplify error path
rslib: Split rs control struct
mtd: rawnand: diskonchip: Allocate rs control per instance
rslib: Allocate decoder buffers to avoid VLAs

 drivers/md/dm-verity-fec.c        |   2 +-
 drivers/mtd/nand/raw/cafe_nand.c  |   7 +-
 drivers/mtd/nand/raw/diskonchip.c |  67 +++++------
 include/linux/rslib.h             |  74 +++++++-----
 lib/reed_solomon/decode_rs.c      |  34 +++---
 lib/reed_solomon/encode_rs.c      |  15 +--
 lib/reed_solomon/reed_solomon.c   | 240 ++++++++++++++++++++++----------------
 7 files changed, 243 insertions(+), 196 deletions(-)
Signature · 2 lines
Kees Cook
Pixel Security