staging/rdma/hfi1: Change for data type of port number
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Wed, 3 Feb 2016 22:37:50 +0000 (14:37 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:38:01 +0000 (20:38 -0500)
commiteb2e557c3663bb43a49f223b49e5101bbfc1d546
treed6241583f6cd36dbdd9bc1040c69b14111f45107
parenta402d6ab409e0e943150a803b94dee76c9de5c27
staging/rdma/hfi1: Change for data type of port number

This commit changes the data type for port_num in
pma_get_opa_porterrors() from unsigned long to u8.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/mad.c