Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1609046ybi; Sat, 1 Jun 2019 01:08:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJKA+/MCdnHxwqpbII0uhXl6xerYHQvjB/TIZQWwF1qDTeEQpq2VE+Q40ZDC9dwN20CAew X-Received: by 2002:a17:90a:b00b:: with SMTP id x11mr14238448pjq.61.1559376493969; Sat, 01 Jun 2019 01:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559376493; cv=none; d=google.com; s=arc-20160816; b=QoL1jBKwU3NFoQVBlLEOlLhALI2BuPsGbQIl6n/lqsmGMyhZYriRoEEnRIMkmprA2N LtP0SatQ8TJ4la/UaTm+1h3t7knVh+F33ONq4SLTj47nAZ/8zlr24OkE6FDe4W2n4qgu TOBUSH+6aA6e+UBwnlDrbTMmwFDp2CVRtoy2wkVosvCRxfBSX/GUDFN0m2C89T6auG57 YbfzJHJeh1LCGgsi1RvuxWQz7jlxYkfs/OBCCN0IphL0maafZCI6WE7ecMkYW9otWWdd EDAljdYZYQqqZvc8Eh57oHTivR+Cun36th7NoLmcvQMvAx4HEYhzFVrrcyvFX64GzWs5 XbhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=pSCsbwdi3ANXwEbPq7YVFH1rf+cBVJwfAp/l/hgZ8f4=; b=kcFiOxNYaS9KxpDzRhcfO7zm80qTUeXXyipX1YDI/WkC3pSi6yuNf29VMqR7zn17+V 6Dhi3XQeDjFthf/qY/IKEsmNxvLdaU/kZNtGczgHxB0rAyd2kt8yPBq9UPRZkTHkNWLR tqUYMWmsox9K9R/m1Uq2T1RUyXLdt7DKvaWI3VqVleUk0vjiTXKfmwigfETHG/aez+kj 7beqHweNsNJ8JVdKHz23Gmq7/6eIk1/FEMFl2ibrri8cNgWu7xSU0v3x0izemTQ2njAn k4GOv+JssvCjYepCO8uF64RBjUhleQiUFxQM/kABruJKk2nWrIwEXtIeBaj/NQkC4vEK y8ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si9955348pff.250.2019.06.01.01.07.56; Sat, 01 Jun 2019 01:08:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726710AbfFAIGp (ORCPT + 99 others); Sat, 1 Jun 2019 04:06:45 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:47324 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726013AbfFAIGo (ORCPT ); Sat, 1 Jun 2019 04:06:44 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id EFC26A79FF7D3BE022FC; Sat, 1 Jun 2019 16:06:38 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Sat, 1 Jun 2019 16:06:30 +0800 From: YueHaibing To: , , , , CC: , , YueHaibing Subject: [PATCH net-next] qed: Fix build error without CONFIG_DEVLINK Date: Sat, 1 Jun 2019 16:06:05 +0800 Message-ID: <20190601080605.13052-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix gcc build error while CONFIG_DEVLINK is not set drivers/net/ethernet/qlogic/qed/qed_main.o: In function `qed_remove': qed_main.c:(.text+0x1eb4): undefined reference to `devlink_unregister' Select DEVLINK to fix this. Reported-by: Hulk Robot Fixes: 24e04879abdd ("qed: Add qed devlink parameters table") Signed-off-by: YueHaibing --- drivers/net/ethernet/qlogic/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qlogic/Kconfig b/drivers/net/ethernet/qlogic/Kconfig index fdbb3ce..a391cf6 100644 --- a/drivers/net/ethernet/qlogic/Kconfig +++ b/drivers/net/ethernet/qlogic/Kconfig @@ -87,6 +87,7 @@ config QED depends on PCI select ZLIB_INFLATE select CRC8 + select NET_DEVLINK ---help--- This enables the support for ... -- 2.7.4