Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3476284pxu; Tue, 8 Dec 2020 13:06:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyh2NNBzf6ZVRjSDzfG1diwTGhaTHP4sHdXiRKk0F2CheZJ+3kCOrdeIIFOe0ae2lrguSHI X-Received: by 2002:a50:e846:: with SMTP id k6mr26775230edn.245.1607461613560; Tue, 08 Dec 2020 13:06:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607461613; cv=none; d=google.com; s=arc-20160816; b=1FHluR51XXyjKFC1znf0ips7cKheT7t2YYR/ygA/apOIN8KFpD9SxPDSyF0Kd4GF17 D8WXtv4TsekzS68urt8XfelxJ2owjKm7+ycmX9CO/aA0MmuRLD+3W0oRqv+foZOlpjVy QJUaTNIwfufHmbO41PehJXyJeToupXQDD5/V4A/OrshryUvC/WOfM1eEqYbBMRnZ1BRy kAVvyUnFPvLuqI28bIkcrj6hf4l9d33xd+4ZPsK+hY4slDBxuwOW9ZZpOsx6xe9bLZM4 564cgnFLZOSgx8HIIgcBrPIhN9nwpKlosJ7Dh842uuOkIr1pLb/HdZYB/x8XHTCbTJd/ EEXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:dkim-signature :date; bh=hlBrkEKN7jbQH37isYcn13bJl4iFjwzYtnAxES9wMas=; b=n3kk86YLTT/fvh3eZU4ufjhI4mxR3uMmAynSsNBGHesEKp6OeA/1755Vb4WnHwB6xH 69+YX8gpHAfeNsS1R4Qoq4cXQZ8ysO8S+vbFpHxaUpwL8s5JRyiIezBmI/KKGg5nhk3Y ItG99KyMkO+qDKrSTpO3H3TwuebWZlnaAj3KZocQrEANAQipYyVIWR9rOmbuSsWHr+Yu P00hjp/sVm8NKH9WBlp5odxyi5BQUcAfGod4g7W0IVOcQ+hfZc5Zx/pHzuiCSYOE9PV9 drmewdUojDB9WTi8frd/s+DKksq3g9MuJogEKjo6H9RTTtK9tgy7NFO+NJAmWAOGUY67 OT1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AWKrbTQP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si8459073ejw.244.2020.12.08.13.06.29; Tue, 08 Dec 2020 13:06:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AWKrbTQP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729149AbgLHUj1 (ORCPT + 99 others); Tue, 8 Dec 2020 15:39:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:45014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgLHUj1 (ORCPT ); Tue, 8 Dec 2020 15:39:27 -0500 Date: Tue, 8 Dec 2020 11:22:26 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607455347; bh=0hoIplBhL2TPhrhpgcVbMyxg8H17FzeKx+l9ZHZK0r0=; h=From:To:Cc:Subject:In-Reply-To:References:From; b=AWKrbTQP49oNKAXiA4uPh3YzudRhdOK14Op9O74N37SqW+g9n8py37Fjg9ZcDE9BO BQXmmkCblG5xxZsRRw2dKmrtR74Lad9VCDjL8LDjXJJJ146QpmEeQJ0git1MoPdvx7 XyiGgrfsPs+1DgpppxLYzSeIbD02mekyJrsmoqdvA00S/hYdWEeHj58Q3GMV8iVLR9 uoPXH5aVRB+3fOz47BK5NP7ZvRCpRnhdM7hae3PrfiEoq9ac3OyDdg8VFRGg3rHuBF QNg9zVqse7kSWdem9XkdflYKxVhVJ6OzcebjrjLGvE+acdPwDwSBirGe5Hgawjlse4 3Ue1xNPo9ZraA== From: Jakub Kicinski To: Zou Wei Cc: , , , , , Subject: Re: [PATCH -next] net/mlx5_core: remove unused including Message-ID: <20201208112226.1bb31229@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> In-Reply-To: <1607343240-39155-1-git-send-email-zou_wei@huawei.com> References: <1607343240-39155-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 Dec 2020 20:14:00 +0800 Zou Wei wrote: > Remove including that don't need it. >=20 > Signed-off-by: Zou Wei > --- > drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c b/drivers/n= et/ethernet/mellanox/mlx5/core/en_rep.c > index 989c70c..82ecc161 100644 > --- a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c > +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c > @@ -30,7 +30,6 @@ > * SOFTWARE. > */ > =20 > -#include > #include > #include > #include drivers/net/ethernet/mellanox/mlx5/core/en_rep.c: In function =E2=80=98mlx5= e_rep_get_drvinfo=E2=80=99: drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:66:28: error: =E2=80=98UTS= _RELEASE=E2=80=99 undeclared (first use in this function); did you mean =E2= =80=98CSS_RELEASED=E2=80=99? 66 | strlcpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version)); | ^~~~~~~~~~~ | CSS_RELEASED drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:66:28: note: each undeclar= ed identifier is reported only once for each function it appears in make[6]: *** [drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 make[5]: *** [drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[4]: *** [drivers/net/ethernet/mellanox] Error 2 make[3]: *** [drivers/net/ethernet] Error 2 make[2]: *** [drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [drivers] Error 2 make: *** [__sub-make] Error 2