IB/hfi1: Set port number for errorinfo MAD response
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Wed, 16 May 2018 01:31:17 +0000 (18:31 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 24 May 2018 15:39:25 +0000 (09:39 -0600)
commit5938d94cf0380bca9e6fbb910c010f4483906c11
treec0d0b3e45eb88199c297aa4336a391bf9c50348c
parentc8314811f9b2068eb53728d7a06b1ea195579e79
IB/hfi1: Set port number for errorinfo MAD response

For errorinfo MAD requests, the response has a 0 port number left over
from a memset. Instead we should always set the port number in the
response.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mad.c