diff options
| author | Kees Cook <[email protected]> | 2019-02-12 21:09:36 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2019-02-12 21:45:53 +0000 |
| commit | 93ee4b7d9f0632690713aee604c49e298e634094 (patch) | |
| tree | b59d6703ee660577abbb1f3de464f2482a6962da /lib/error-inject.c | |
| parent | pstore/ram: Add kmsg hlen zero check to ramoops_pstore_write() (diff) | |
| download | kernel-93ee4b7d9f0632690713aee604c49e298e634094.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions
