IB/mad: Add port_num to error message
authorYuval Shaia <yuval.shaia@oracle.com>
Thu, 19 Jan 2017 14:48:31 +0000 (16:48 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 19:20:42 +0000 (14:20 -0500)
commitf57e8ca50e23b9e69b2d9f057ca07f9817daab09
treeb9acc8b5382d9842c798920b992e290b0f64a433
parent1dd70ea36077f320dadad120d1a611b9ce706ea5
IB/mad: Add port_num to error message

Print the invalid port number to ease troubleshooting.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c