aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-12-04 15:44:23 +0100
committerRob Clark <[email protected]>2017-12-13 11:11:55 -0500
commita1ed6def4410451eeb2ce85b4270e6fe9d3c902c (patch)
treec014e2307eaa51c132ec72466009980c6fbcea1f /net/unix/sysctl_net_unix.c
parent8dcbde0f230594eada5646191bdb4a29be1876f6 (diff)
drm/msm: avoid false-positive -Wmaybe-uninitialized warning
gcc-8 -fsanitize-coverage=trace-pc produces a false-positive warning: drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: In function 'mdp5_plane_mode_set.isra.8': drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:1053:3: error: 'crtc_x_r' may be used uninitialized in this function [-Werror=maybe-uninitialized] It's relatively clear from reading the source that this cannot happen, and older compilers get it right. This rearranges the code remove the two affected variables, which reliably avoids the problem. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions