]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
IB/hfi1: Clean up type used and casting
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 26 Aug 2016 04:49:25 +0000 (06:49 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 26 Aug 2016 14:01:49 +0000 (10:01 -0400)
commit61a28d2b690a8b6c383a075a12d62d711850f9d7
treeaece767d4e1be799dfb5f3a178a7ba3e4d4eafbf
parentb71121b4b70a995c0b794026e84c880c4f26c361
IB/hfi1: Clean up type used and casting

In all other places in this file where 'find_first_bit' is called,
port_num is defined as a 'u8' and no casting is done.

Do the same here in order to be more consistent.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mad.c