diff options
| author | Eric Biggers <[email protected]> | 2023-06-04 02:23:12 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2023-06-04 12:56:11 +0000 |
| commit | 13e2408d02dd12a3b46bf8a29b3ae4f6119fc520 (patch) | |
| tree | 2928a9e84be2405df60d6d916836b4f78d907f9d /drivers/fpga/fpga-region.c | |
| parent | fsverity: don't use bio_first_page_all() in fsverity_verify_bio() (diff) | |
| download | kernel-13e2408d02dd12a3b46bf8a29b3ae4f6119fc520.tar.gz kernel-13e2408d02dd12a3b46bf8a29b3ae4f6119fc520.zip | |
fsverity: simplify error handling in verify_data_block()
Clean up the error handling in verify_data_block() to (a) eliminate the
'err' variable which has caused some confusion because the function
actually returns a bool, (b) reduce the compiled code size slightly, and
(c) execute one fewer branch in the success case.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
