summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-mutex.h
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2014-05-17 23:52:03 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-19 03:14:43 +0200
commitda26a625bfa8d12b789f12a107a2e389c236c362 (patch)
tree5b981da204f04375137c885a58efa9518918267d /lib/locking-selftest-mutex.h
parentipv4: minor spelling fix (diff)
downloadlinux-da26a625bfa8d12b789f12a107a2e389c236c362.tar.xz
linux-da26a625bfa8d12b789f12a107a2e389c236c362.zip
net/mlx4_en: Fix uninitialized use of 'port_up' in mlx4_en_set_channels()
Function mlx4_en_set_channels() stops running ports before performing the requested action. In that case local variable 'port_up' is set so that the port is restarted at the end of the function, however, in case the port was not stopped, variable 'port_up' is left uninitialized and the behaviour is undetermined. Detected by Coverity - CID 751497. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Acked-By: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest-mutex.h')
0 files changed, 0 insertions, 0 deletions