vfio/mlx5: Fix a typo in mlx5vf_cmd_load_vhca_state()
authorYishai Hadas <yishaih@nvidia.com>
Sun, 6 Nov 2022 17:46:19 +0000 (19:46 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 14 Nov 2022 18:37:07 +0000 (11:37 -0700)
commit2f5d8cef45c30edcf3972d345f606df563d3a48e
tree26ff9602a57f58ee52bb100f4dc06f2ff73bec38
parent4e016f969529f2aec0545e90119e7eb3cb124c46
vfio/mlx5: Fix a typo in mlx5vf_cmd_load_vhca_state()

Fix a typo in mlx5vf_cmd_load_vhca_state() to use the 'load' memory
layout.

As in/out sizes are equal for save and load commands there wasn't any
functional issue.

Fixes: f1d98f346ee3 ("vfio/mlx5: Expose migration commands over mlx5 device")
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20221106174630.25909-3-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/mlx5/cmd.c