]> www.infradead.org Git - users/dwmw2/linux.git/commit
RDMA/qedr: Fix the hca_type and hca_rev returned in device attributes
authorMichal Kalderon <michal.kalderon@marvell.com>
Sun, 28 Jul 2019 11:13:38 +0000 (14:13 +0300)
committerSasha Levin <sashal@kernel.org>
Sun, 25 Aug 2019 14:10:29 +0000 (10:10 -0400)
commit2fed94fdd0956a8de6130cad6b5dec41864583b8
treebb23e3a9394d61140341314b49e40a3ed506c99d
parent99505ad90283ee094d64d811f04c108506ae1523
RDMA/qedr: Fix the hca_type and hca_rev returned in device attributes

[ Upstream commit 15fe6a8dcc3b48358c28e17b485fc837f9605ec4 ]

There was a place holder for hca_type and vendor was returned
in hca_rev. Fix the hca_rev to return the hw revision and fix
the hca_type to return an informative string representing the
hca.

Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Link: https://lore.kernel.org/r/20190728111338.21930-1-michal.kalderon@marvell.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/qedr/main.c