diff options
author | Andrew Donnellan <ajd@linux.ibm.com> | 2023-02-10 19:03:47 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-12 22:12:37 +1100 |
commit | 6d64c497a31bd888110785def44529ebb96bce49 (patch) | |
tree | 2d1ff52bfcfa5a284095d63d4f52972259f20b24 /rust/alloc | |
parent | 50a466bf3e6f6f177dc0aeefa46a2f8927075a1d (diff) |
powerpc/secvar: Warn when PAGE_SIZE is smaller than max object size
Due to sysfs constraints, when writing to a variable, we can only handle
writes of up to PAGE_SIZE.
It's possible that the maximum object size is larger than PAGE_SIZE, in
which case, print a warning on boot so that the user is aware.
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230210080401.345462-13-ajd@linux.ibm.com
Diffstat (limited to 'rust/alloc')
0 files changed, 0 insertions, 0 deletions