[GIT PULL] pstore updates for v5.7-rc1

From: Kees Cook
Date: Mon Mar 30 2020 - 00:22:03 EST


Hi Linus,

Please pull these pstore updates for v5.7-rc1. These mostly some minor
cleanups and a bug fix for an ftrace corner case.

Thanks!

-Kees

The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:

Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v5.7-rc1

for you to fetch changes up to 8128d3aac0ee3420ede34950c9c0ef9ee118bec9:

pstore/ram: Replace zero-length array with flexible-array member (2020-03-09 14:45:40 -0700)

----------------------------------------------------------------
pstore updates

- Improve failure paths (chenqiwu)
- Fix ftrace position index (Vasily Averin)
- Use proper flexible-array member (Gustavo A. R. Silva)

----------------------------------------------------------------
Gustavo A. R. Silva (1):
pstore/ram: Replace zero-length array with flexible-array member

Vasily Averin (1):
pstore: pstore_ftrace_seq_next should increase position index

chenqiwu (2):
pstore/platform: fix potential mem leak if pstore_init_fs failed
pstore/ram: remove unnecessary ramoops_unregister_dummy()

fs/pstore/inode.c | 5 ++++-
fs/pstore/platform.c | 4 ++--
fs/pstore/ram.c | 1 -
fs/pstore/ram_core.c | 2 +-
4 files changed, 7 insertions(+), 5 deletions(-)

--
Kees Cook