aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-02-12 13:09:36 -0800
committerKees Cook <keescook@chromium.org>2019-02-12 13:45:53 -0800
commit93ee4b7d9f0632690713aee604c49e298e634094 (patch)
treeb59d6703ee660577abbb1f3de464f2482a6962da /scripts
parentpstore/ram: Add kmsg hlen zero check to ramoops_pstore_write() (diff)
downloadlinux-dev-93ee4b7d9f0632690713aee604c49e298e634094.tar.xz
linux-dev-93ee4b7d9f0632690713aee604c49e298e634094.zip
pstore/ram: Avoid needless alloc during header write
Since the header is a fixed small maximum size, just use a stack variable to avoid memory allocation in the write path. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions