diff options
author | Kees Cook <keescook@chromium.org> | 2020-05-06 11:44:14 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-05-30 10:34:02 -0700 |
commit | 26961d76ff35aecb1af0fefd283fb5170786a812 (patch) | |
tree | 254e7b8cd11627877e114e937dcfcaa60fd382b2 /sound | |
parent | f858b57f7dd28b5bb55e9dc3776fff58f38a7c91 (diff) |
pstore/ram: Refactor DT size parsing
Refactor device tree size parsing routines to be able to pass a non-zero
default value for providing a configurable default for the coming
"max_reason" field. Also rename the helpers, since we're not always
parsing a size -- we're parsing a u32 and making sure it's not greater
than INT_MAX.
Link: https://lore.kernel.org/lkml/20200506211523.15077-4-keescook@chromium.org/
Link: https://lore.kernel.org/lkml/20200521205223.175957-1-tyhicks@linux.microsoft.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions