Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp211949lqt; Mon, 18 Mar 2024 06:05:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHD/4R++WspFfJ7g1mKgmp2WSHexf5NNXEZ5g43cPy+wjGaueTbULc8peRaYHHclw8A8dN7Uodxdw8C+CrqqjjiE8WSeyTRIQ6DBD2sA== X-Google-Smtp-Source: AGHT+IFqJEjwb4GkC3F6GEeAUKrzzgqXXTsg3o0Jw1SsRoq3Rm69olLvaZ+g3dpcje34KZsfNDiu X-Received: by 2002:a92:cc03:0:b0:366:bcbd:ed84 with SMTP id s3-20020a92cc03000000b00366bcbded84mr4572043ilp.15.1710767104281; Mon, 18 Mar 2024 06:05:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710767104; cv=pass; d=google.com; s=arc-20160816; b=HPyCEHSUzI68VUDx9MKY22rorxH/duxt1xI0A/zUk8WRQAjdvKFERf369Ybz6nJoBM swev3cMGO50O6FHRSnMSArmS1odEpXG80Nr7PQv6DFzI/sIH1c0nuG7jJSIbevYeNHeP bctM+/UCvN6PnebKWLkZRFzqvb6Pe5IoOh7IjwodxgN/TguUq47GBxPE3ajMu1faOGwG 5DgO6XF1rAw+Ltv8+z7jMcr7+mtYxpcmoNW5HlpWXoWObaD0+Hx+xLDVLRmplHFPsr5d aEhxwv5rMVoWryGlQ+4iLKVgxk3tDzXnLVuj6PcxaN7JMT41jDyN/dBHVQqaW1zDe7dJ f/nw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FMoYW7W0JKQB80irlbA8pkNsaHNJz5/QtZq7oArGzIE=; fh=iaMc8qbrcAb26pJlr23GcSFusd+aGkvIHrXDh3azOIE=; b=n3L568SI9758he66wIXB7qkW2OBOVLV/EgV7moJ0NE9/fG7HYTMcHmgYxCx8Vkb4Sh spKQI6dQqcy1/4Lz7q/WeUGRDI4lLEEpCBC4uBhC6KJyEVDGYuwjYWB2O6BRYl0Ky880 GPWF3qMPV/v646ViiXdSDT9tb0GyBmNoNqYSVevRt5pT+BGCIBtQZw4amr3WhDujrTEi OYZ6b2KY50XMBOhV1LCP4/S+kpKGgMKYHfE56HowmeCgMByHyl/AlfvnB5WyH+dt15Ew DGmhja9Dqyhr4Vn3j6m+2ncEpE7tFmC3R/e/N3RqkqU/D7olXqeHllwexQqZPo0CI6HY uwrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AUIw+RRe; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-106140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x15-20020a92b00f000000b003629677f2ccsi3136202ilh.121.2024.03.18.06.05.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 06:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AUIw+RRe; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-106140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EA6F02822EF for ; Mon, 18 Mar 2024 13:05:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DE053BBF1; Mon, 18 Mar 2024 13:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AUIw+RRe" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E547F38F96; Mon, 18 Mar 2024 13:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710767059; cv=none; b=ie8qTJoHA8ZvcFSAuMjEayb7ep0aP8nXH6+IvhLIXEPtbuOwUHiLNrcxAfgvHn+h4jDbDOtWPfP8zmGkLqCq4ifbva40WcZPrrnwvKo7trYWBW3ts1l0lUH5vNCnxW0OLTKuCQfhybMhr17b1By0VWSARBjmRNG3pWvGqHey8aE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710767059; c=relaxed/simple; bh=ZRL03sPQx6c/A6XYa9UfTEt3fY76GaN/+XjCyG2UFFo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VJ4XhD5IRem/PjG3jtCthvT4Q6peA95gjnTMzUuETiSgEba/wQhdyvVc076+QYGBofyiecH+lAjieqh4cn+xdsTTD75gAd0KwPsksF99tZxRKeiNh7bYeALl/0xaqJZcnQ0le+1ePOi5yJ/QMVR43K0VDC9M+9MoaAHB0UrOgig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=AUIw+RRe; arc=none smtp.client-ip=198.175.65.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710767058; x=1742303058; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZRL03sPQx6c/A6XYa9UfTEt3fY76GaN/+XjCyG2UFFo=; b=AUIw+RReOIXJ/LYUvdF3xvtJpQXiV1iJlfNoP1GUSLrLNKHMDE28okPC /aYonqCXPh9P9cqeoLzRDA+MMTWFDqo8EDWNAIHQ/3hAuTmpwp5jgZQo+ JUrg2VrtLzQL3rnPXJ4cx4DrWs4gnbzDbnDRtDmBfq+mEpuBZkgoHYshi 5po4LwBZ467H7HjpdNVzPq9El7TyknPz7UknfBj3NUUyFVBIfpVZNvcJH 2w5BnOBknpL1mt0aSxBl7LJon1XaW1B+QiOztqm+TSu2DcEbntoMm1Ovr OvVgUjHZJbIrFWbJDt2Mzdl/u+K2U4jD6YhjJN/iC+i8c9+Y2AAPtQT4C g==; X-IronPort-AV: E=McAfee;i="6600,9927,11016"; a="5707153" X-IronPort-AV: E=Sophos;i="6.07,134,1708416000"; d="scan'208";a="5707153" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 06:04:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,134,1708416000"; d="scan'208";a="44392883" Received: from newjersey.igk.intel.com ([10.102.20.203]) by orviesa002.jf.intel.com with ESMTP; 18 Mar 2024 06:04:16 -0700 From: Alexander Lobakin To: linux-hardening@vger.kernel.org Cc: Alexander Lobakin , Kees Cook , "Gustavo A. R. Silva" , Marco Elver , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RFC kspp-next 2/3] idpf: make virtchnl2.h self-contained Date: Mon, 18 Mar 2024 14:03:53 +0100 Message-ID: <20240318130354.2713265-3-aleksander.lobakin@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240318130354.2713265-1-aleksander.lobakin@intel.com> References: <20240318130354.2713265-1-aleksander.lobakin@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To ease maintaining of virtchnl2.h, which already is messy enough, make it self-contained by adding missing if_ether.h include due to %ETH_ALEN usage. At the same time, virtchnl2_lan_desc.h is not anywhere in the file, so remove this include to speed up preprocessing. Signed-off-by: Alexander Lobakin --- drivers/net/ethernet/intel/idpf/virtchnl2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/idpf/virtchnl2.h b/drivers/net/ethernet/intel/idpf/virtchnl2.h index 4a3c4454d25a..29419211b3d9 100644 --- a/drivers/net/ethernet/intel/idpf/virtchnl2.h +++ b/drivers/net/ethernet/intel/idpf/virtchnl2.h @@ -4,6 +4,8 @@ #ifndef _VIRTCHNL2_H_ #define _VIRTCHNL2_H_ +#include + /* All opcodes associated with virtchnl2 are prefixed with virtchnl2 or * VIRTCHNL2. Any future opcodes, offloads/capabilities, structures, * and defines must be prefixed with virtchnl2 or VIRTCHNL2 to avoid confusion. @@ -17,8 +19,6 @@ * must remain unchanged over time, so we specify explicit values for all enums. */ -#include "virtchnl2_lan_desc.h" - /* This macro is used to generate compilation errors if a structure * is not exactly the correct length. */ -- 2.44.0