qed: RDMA - Fix the hw_ver returned in device attributes
authorMichal Kalderon <michal.kalderon@marvell.com>
Thu, 25 Jul 2019 10:59:55 +0000 (13:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2019 06:26:39 +0000 (08:26 +0200)
commit9fe87b7fbcddb51f050ab63651cb99a2c671f922
tree09552ec9d55834b7faea0332298e8be4a7ba6dd6
parentccaf6f84778388bd649e8d718633c03d860ba078
qed: RDMA - Fix the hw_ver returned in device attributes

[ Upstream commit 81af04b432fdfabcdbd2c06be2ee647e3ca41a22 ]

The hw_ver field was initialized to zero. Return the chip revision.
This is relevant for rdma driver.

Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_rdma.c