aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-08-30 19:46:44 +0100
committerGreg Kroah-Hartman <[email protected]>2019-09-03 09:36:07 +0200
commit076a8e2f769e870cc8eedda746fdc8a9aa0c11f9 (patch)
tree1cf92fe0e0bfae4fc1af79da3c6f5c6e5c728fc5 /net/switchdev/switchdev.c
parentef16b89c8243f8407938e5f3e2134444338c1b45 (diff)
staging: exfat: fix uninitialized variable ret
Currently there are error return paths in ffsReadFile that exit via lable err_out that return and uninitialized error return in variable ret. Fix this by initializing ret to zero. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: c48c9f7ff32b ("staging: exfat: add exfat filesystem code to staging") Signed-off-by: Colin Ian King <[email protected]> Cc: Valdis Kletnieks <[email protected]>, Reviewed-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions