]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ntb: intel: fix return value for ndev_vec_mask()
authorDave Jiang <dave.jiang@intel.com>
Wed, 29 Aug 2018 00:13:59 +0000 (17:13 -0700)
committerJon Mason <jdmason@kudzu.us>
Wed, 31 Oct 2018 20:07:26 +0000 (16:07 -0400)
commit7756e2b5d68c36e170a111dceea22f7365f83256
treec951f4caaaa2913881b6cb2861c430c2f7de51a2
parenta861594b1b7ffd630f335b351c4e9f938feadb8e
ntb: intel: fix return value for ndev_vec_mask()

ndev_vec_mask() should be returning u64 mask value instead of int.
Otherwise the mask value returned can be incorrect for larger
vectors.

Fixes: e26a5843f7f5 ("NTB: Split ntb_hw_intel and ntb_transport drivers")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Lucas Van <lucas.van@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/intel/ntb_hw_gen1.c