Merge tag 'pstore-v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Mar 2019 17:02:47 +0000 (09:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Mar 2019 17:02:47 +0000 (09:02 -0800)
commita39f009acefd85d3e36bcae828a4e67c9dce9684
tree260b01b049873aa3c9897343ed49eb80dbf83f4e
parent5bbf1b6d05337c02218f5f351258cd1bf31ffde5
parent93ee4b7d9f0632690713aee604c49e298e634094
Merge tag 'pstore-v5.1-rc1' of git://git./linux/kernel/git/kees/linux

Pull pstore cleanups from Kees Cook:

 - Remove some needless memory allocations (Yue Hu, Kees Cook)

 - Add zero-length checks to avoid no-op calls (Yue Hu)

* tag 'pstore-v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  pstore/ram: Avoid needless alloc during header write
  pstore/ram: Add kmsg hlen zero check to ramoops_pstore_write()
  pstore/ram: Move initialization earlier
  pstore: Avoid writing records with zero size
  pstore/ram: Replace dummy_data heap memory with stack memory