From 1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 10 Aug 2022 12:27:19 +0100 Subject: [PATCH] [intelxl] Fix invocation of intelxlvf_admin_queues() The second parameter to intelxlvf_admin_queues() is a boolean used to select the VF opcode, rather than the raw VF opcode itself. Signed-off-by: Michael Brown --- src/drivers/net/intelxlvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/net/intelxlvf.c b/src/drivers/net/intelxlvf.c index e0e7dc610..d9922a7c6 100644 --- a/src/drivers/net/intelxlvf.c +++ b/src/drivers/net/intelxlvf.c @@ -510,7 +510,7 @@ static int intelxlvf_open ( struct net_device *netdev ) { return 0; err_promisc: - intelxlvf_admin_queues ( netdev, INTELXL_ADMIN_VF_DISABLE ); + intelxlvf_admin_queues ( netdev, 0 ); err_enable: err_irq_map: err_configure: