diff options
author | Reinette Chatre <[email protected]> | 2023-05-11 08:44:29 -0700 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-05-23 15:49:03 -0600 |
commit | 6578ed85c7d63693669bfede01e0237d0e24211a (patch) | |
tree | 5e71f2521bf52392190402828ec7e6c1a45f42ae /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | a65f35cfd504e5135540939cffd4323083190b36 (diff) |
vfio/pci: Remove negative check on unsigned vector
User space provides the vector as an unsigned int that is checked
early for validity (vfio_set_irqs_validate_and_prepare()).
A later negative check of the provided vector is not necessary.
Remove the negative check and ensure the type used
for the vector is consistent as an unsigned int.
Signed-off-by: Reinette Chatre <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/28521e1b0b091849952b0ecb8c118729fc8cdc4f.1683740667.git.reinette.chatre@intel.com
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions