summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2023-07-25 12:33:11 +0800
committerTheodore Ts'o <tytso@mit.edu>2023-08-27 11:27:12 -0400
commita50bda147421e24c1a5d47ddcc0675360b7cb3ac (patch)
treed46dfad620a8aefd49a4b9a476cca973ea37e6c5 /fs/ext4/ext4.h
parent79ebf48c44b5ba05a98af23f8830883daf36f4d3 (diff)
ext4: mballoc: avoid garbage value from err
clang's static analysis warning: fs/ext4/mballoc.c line 4178, column 6, Branch condition evaluates to a garbage value. err is uninitialized and will be judged when 'len <= 0' or it first enters the loop while the condition "!ext4_sb_block_valid()" is true. Although this can't make problems now, it's better to correct it. Signed-off-by: Su Hui <suhui@nfschina.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Link: https://lore.kernel.org/r/20230725043310.1227621-1-suhui@nfschina.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions