]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i40iw: Use utility function roundup_pow_of_two()
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 22 Dec 2017 15:46:55 +0000 (09:46 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 22 Dec 2017 20:37:51 +0000 (13:37 -0700)
commit8758768ad8aa9fc0d56417315dec65b610fc3a21
tree1116f92251be999cd39cfc5e9dd856feabd02484
parentf32b766cf787bba1bea111f43edac3f32b45a4e9
i40iw: Use utility function roundup_pow_of_two()

Consolidate all power of 2 round calculations to
use kernel utility function roundup_pow_of_two().

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_uk.c