aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-05-01 11:07:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-01 11:07:40 -0700
commitcf676908846a06443fa5e6724ca3f5dd7460eca1 (patch)
tree7b4c64894ba98f62f9a55fb9f35c4e64424fa9a3 /arch/x86
parentgcc-9: silence 'address-of-packed-member' warning (diff)
downloadlinux-dev-cf676908846a06443fa5e6724ca3f5dd7460eca1.tar.xz
linux-dev-cf676908846a06443fa5e6724ca3f5dd7460eca1.zip
gcc-9: don't warn about uninitialized variable
I'm not sure what made gcc warn about this code now. The 'ret' variable does end up initialized in all cases, but it's definitely not obvious, so the compiler is quite reasonable to warn about this. So just add initialization to make it all much more obvious both to compilers and to humans. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions