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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jul 2019 21:05:41 +0000 (14:05 -0700)
commit81af04b432fdfabcdbd2c06be2ee647e3ca41a22
tree81d2f955eca766a9b570dc89fb9e3305187cf787
parent9a07406b00cdc6ec689dc142540739575c717f3c
qed: RDMA - Fix the hw_ver returned in device attributes

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>
drivers/net/ethernet/qlogic/qed/qed_rdma.c