From patchwork Sun Aug 11 11:28:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diomidis Spinellis X-Patchwork-Id: 1971639 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256 header.s=default header.b=PRI2pNuY; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WjJ9H5S8gz1yYC for ; Tue, 13 Aug 2024 01:20:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id D949240361; Mon, 12 Aug 2024 15:20:00 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id D-PIG1jhLpki; Mon, 12 Aug 2024 15:20:00 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 29F11405B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1723476000; bh=XJH0uVvxdSYT5zl4fGYoMB8R2frG9nofCfoIgi7N6mY=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=PRI2pNuYjxs4bkBqO2G1cjPzdSQBzD0ONXst7wlNo5nJWBCG4JhopUX32FZ/20+68 p5i+lyE7WFil4x5TTB+tADS42VuCtiidBQCNpaNVKgDCP/enRdzCbhXN1oRRVu1zqv YABmLtwzIUbtWGCJ0SDVd6N+GY4ygGxair/ZrNtTtZ0mY5LbOTyHUEGHoSgbv+8g3x 6atSPo00B/jLiXD4aUlNUR6+wmkVWkXqCuC4eEFNUBX1zLK0uMQXV+zPV74zqYphV8 ZRTir7r0KiY9/eUJUc23ORsuv3P8r2EYGkZKHLwEBXgVnD2S2+Kv08PLRtoM2QJFcn RqdxsY25hYvCg== Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 29F11405B5; Mon, 12 Aug 2024 15:20:00 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 63BCF1BF470 for ; Sun, 11 Aug 2024 11:36:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4F9A8400F3 for ; Sun, 11 Aug 2024 11:36:58 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id thHcRXxs2qlV for ; Sun, 11 Aug 2024 11:36:57 +0000 (UTC) X-Greylist: delayed 455 seconds by postgrey-1.37 at util1.osuosl.org; Sun, 11 Aug 2024 11:36:56 UTC DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org D472A400D6 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org D472A400D6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:648:2ffe:3:a800:ff:fe99:2593; helo=balab.aueb.gr; envelope-from=dds@balab.aueb.gr; receiver= Received: from balab.aueb.gr (balab.aueb.gr [IPv6:2001:648:2ffe:3:a800:ff:fe99:2593]) by smtp2.osuosl.org (Postfix) with ESMTP id D472A400D6 for ; Sun, 11 Aug 2024 11:36:56 +0000 (UTC) Received: by balab.aueb.gr (Postfix, from userid 1000) id 65CF12461C4; Sun, 11 Aug 2024 14:29:16 +0300 (EEST) From: Diomidis Spinellis To: Tony Nguyen , Przemek Kitszel Date: Sun, 11 Aug 2024 14:28:37 +0300 Message-Id: <20240811112837.3323753-1-dds@aueb.gr> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 12 Aug 2024 15:19:56 +0000 X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=aueb.gr Subject: [Intel-wired-lan] [PATCH] Break include dependency cycle X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Diomidis Spinellis , intel-wired-lan@lists.osuosl.org Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Header ixgbe_type.h includes ixgbe_mbx.h. Also, header ixgbe_mbx.h included ixgbe_type.h, thus introducing a circular dependency. Removing the second include is OK, because its includers, ixgbe_mbx.c and ixgbe_82599.c, include ixgbe.h, which includes ixgbe_type.h. Signed-off-by: Diomidis Spinellis --- drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h index bd205306934b..34bc042da4ed 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h @@ -4,8 +4,6 @@ #ifndef _IXGBE_MBX_H_ #define _IXGBE_MBX_H_ -#include "ixgbe_type.h" - #define IXGBE_VFMAILBOX_SIZE 16 /* 16 32 bit words - 64 bytes */ #define IXGBE_VFMAILBOX 0x002FC