aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-03-20 15:35:06 +0900
committerDamien Le Moal <[email protected]>2023-03-21 06:36:34 +0900
commitd7e673c2a900206bea3461a4b4ecc74ea930f80e (patch)
tree01eb0830dfb01c577f575110b5d3ee231e127a0f /tools/perf/scripts/python/Perf-Trace-Util
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
zonefs: Prevent uninitialized symbol 'size' warning
In zonefs_file_dio_append(), initialize the variable size to 0 to prevent compilation and static code analizers warning such as: New smatch warnings: fs/zonefs/file.c:441 zonefs_file_dio_append() error: uninitialized symbol 'size'. The warning is a false positive as size is never actually used uninitialized. No functional change. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions