linux/drivers/infiniband
Bart Van Assche 8dcd21b372 IPoIB: Avoid reading an uninitialized member variable
[ Upstream commit 11b642b84e ]

This patch avoids that Coverity reports the following:

    Using uninitialized value port_attr.state when calling printk

Fixes: commit 94232d9ce8 ("IPoIB: Start multicast join process only on active ports")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Erez Shitrit <erezsh@mellanox.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
History 2017-01-15 09:49:52 -05:00
..
core IB/security: Restrict use of the write() interface 2016-05-17 14:51:48 -04:00
hw IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs 2016-07-12 08:46:55 -04:00
ulp IPoIB: Avoid reading an uninitialized member variable 2017-01-15 09:49:52 -05:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00