diff options
| author | Kees Cook <[email protected]> | 2020-10-02 17:38:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-05 11:37:03 +0000 |
| commit | 885352881f11f1f3113d8eb877786bcb6d720544 (patch) | |
| tree | ccd23c1c8312552381157d8c8848415aa82901bc /drivers/base/firmware_loader/fallback.c | |
| parent | fs/kernel_read_file: Switch buffer size arg to size_t (diff) | |
| download | kernel-885352881f11f1f3113d8eb877786bcb6d720544.tar.gz kernel-885352881f11f1f3113d8eb877786bcb6d720544.zip | |
fs/kernel_read_file: Add file_size output argument
In preparation for adding partial read support, add an optional output
argument to kernel_read_file*() that reports the file size so callers
can reason more easily about their reading progress.
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Reviewed-by: James Morris <[email protected]>
Acked-by: Scott Branden <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback.c')
0 files changed, 0 insertions, 0 deletions
