aboutsummaryrefslogtreecommitdiff
path: root/lib/locking-selftest-softirq.h
diff options
context:
space:
mode:
authorGravatar Kees Cook <keescook@chromium.org> 2020-10-02 10:38:17 -0700
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-10-05 13:34:18 +0200
commitf7a4f689bca6072492626938aad6dd2f32c5bf97 (patch)
tree2618864649e84370218c4d47138964932fec067e /lib/locking-selftest-softirq.h
parentfs/kernel_read_file: Split into separate source file (diff)
downloadlinux-f7a4f689bca6072492626938aad6dd2f32c5bf97.tar.gz
linux-f7a4f689bca6072492626938aad6dd2f32c5bf97.tar.bz2
linux-f7a4f689bca6072492626938aad6dd2f32c5bf97.zip
fs/kernel_read_file: Remove redundant size argument
In preparation for refactoring kernel_read_file*(), remove the redundant "size" argument which is not needed: it can be included in the return code, with callers adjusted. (VFS reads already cannot be larger than INT_MAX.) Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: James Morris <jamorris@linux.microsoft.com> Acked-by: Scott Branden <scott.branden@broadcom.com> Link: https://lore.kernel.org/r/20201002173828.2099543-6-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions