summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-02-06 07:59:39 +0300
committerMikulas Patocka <mpatocka@redhat.com>2026-03-09 17:13:43 +0300
commit71dab3b90f177462a23af81658c9cea327016137 (patch)
tree871122b95ecf16ea9085f8218814abce54e1b6c6 /scripts/const_structs.checkpatch
parentb39b3c812eaf7956cc6f9ba570b75b5d52c8da62 (diff)
downloadlinux-71dab3b90f177462a23af81658c9cea327016137.tar.xz
dm-verity-fec: make fec_decode_bufs() just return 0 or error
fec_decode_bufs() returns the number of errors corrected or a negative errno value. However, the caller just checks for an errno value and doesn't do anything with the number of errors corrected. Simplify the code by just returning 0 instead of the number of errors corrected. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions