]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa/mlx5: Fix dependency on MLX5_CORE
authorEli Cohen <elic@nvidia.com>
Wed, 7 Oct 2020 06:40:11 +0000 (09:40 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Oct 2020 20:02:00 +0000 (16:02 -0400)
commita73654807d88fe714f0ffcfab6b02c15acda0daa
treee53a6e8c56bdd29a58422ebf468c9515af6206a3
parent09edbb826ecaac8f5af8c5e5fe802c53a47b10a1
vdpa/mlx5: Fix dependency on MLX5_CORE

Remove propmt for selecting MLX5_VDPA by the user and modify
MLX5_VDPA_NET to select MLX5_VDPA. Also modify MLX5_VDPA_NET to depend
on mlx5_core.

This fixes an issue where configuration sets 'y' for MLX5_VDPA_NET while
MLX5_CORE is compiled as a module causing link errors.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 707e0f8d9b65 ("vdpa/mlx5: Add VDPA driver for supported mlx5 device")s
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20201007064011.GA50074@mtl-vdi-166.wap.labs.mlnx
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/Kconfig