From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12E04FF885A for ; Tue, 28 Apr 2026 18:15:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 9E81483C03; Tue, 28 Apr 2026 18:15:44 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id jV2iH7GPvgo9; Tue, 28 Apr 2026 18:15:44 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 214DC83BCB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1777400144; bh=NJ3bVp/jIwzXIJMAxgX204FFWJfobla2UunocuNE01w=; h=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=AwFjcOlqjSxx4NDtNzsyNcBLuymfVWos6+I34c5nOV6Ub6d1+aVv0fiQkPwtcXVo2 Ty4SV4ZqbIdADAVbwPtX9iulGAI3u9bzxv8bAzjDLd+Ve5V0lxiaku2SKiABOzTjHt QUuP6s1cCQI7B4/q0SLSo4JDTrvTtWxwWoPqHZ757gOA66JbGdiuZKX+qZ1Ou0YApV Rv70HqJeREN+1GX36yUof6EynEA4JkeWAa1552R0NPz0Ta76cC9QDV+Pqc4+He2dPo fyT4H5cx+dpk9DntxHILBl+1nNe8TZxxG14jQJA+CtTAKirYGIMvPYNkhhqReCaUJd Lllx7JpCq/mzA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 214DC83BCB; Tue, 28 Apr 2026 18:15:44 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 1F059231 for ; Tue, 28 Apr 2026 18:15:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 1090060E8E for ; Tue, 28 Apr 2026 18:15:42 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id T0790qjHaIam for ; Tue, 28 Apr 2026 18:15:40 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::634; helo=mail-pl1-x634.google.com; envelope-from=mkhalfella@purestorage.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 689F660E64 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 689F660E64 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by smtp3.osuosl.org (Postfix) with ESMTPS id 689F660E64 for ; Tue, 28 Apr 2026 18:15:39 +0000 (UTC) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2b458ca2296so72534765ad.0 for ; Tue, 28 Apr 2026 11:15:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777400139; x=1778004939; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NJ3bVp/jIwzXIJMAxgX204FFWJfobla2UunocuNE01w=; b=jwZC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0O01fKiHTYQBdmI/BQJODNDgM8s8A== X-Received: by 2002:a17:902:e2d5:b0:2b2:eae2:db38 with SMTP id d9443c01a7336-2b97c4158c8mr26339015ad.18.1777400138823; Tue, 28 Apr 2026 11:15:38 -0700 (PDT) Received: from apollo.purestorage.com ([208.88.152.253]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2b97ac7894csm32995865ad.50.2026.04.28.11.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2026 11:15:38 -0700 (PDT) From: Mohamed Khalfella To: Tony Nguyen , Przemek Kitszel , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Mohamed Khalfella , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 28 Apr 2026 11:14:50 -0700 Message-ID: <20260428181450.2622899-1-mkhalfella@purestorage.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purestorage.com; s=google2022; t=1777400139; x=1778004939; darn=lists.osuosl.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NJ3bVp/jIwzXIJMAxgX204FFWJfobla2UunocuNE01w=; b=WSgAOtQSBMdc2jX1HNFCHQ3tyWNANq/jncMJIF9xZ/COimBwaGG/j7Gj9aDYsY1ukN 2KvLSHK06pUVicNGOQelwZ3znYCZaJG9AqG4z2NODDDpYo3w/msySJEkVHIa/THbANKK K/JVWXAdhcT/cVpBKE6/ffi52aoNq4G6C1D1djWEwlE+FnGmTEnVJGJ8KCxwMMfBZE4r jrokvxBVU3HWftY/AHe6chVahnXJ4+lZsx9gYWya22Op3jqR2i6CHq9k0V/1Avn9JgvO Wu9bANtDf9oOovE/J6iNSBPzXI5BeOafFCEdgbxfKlQRiuobT7rc1JA1nAfOVffj40f4 Icwg== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=purestorage.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=purestorage.com header.i=@purestorage.com header.a=rsa-sha256 header.s=google2022 header.b=WSgAOtQS Subject: [Intel-wired-lan] [PATCH] i40e: Fix i40e_debug() to use struct i40e_hw argument X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" i40e_debug() macro takes struct i40e_hw *h as first argument. But the macro body uses hw instead of h. This has been working so far because hw happen to be the name of the variable in the context where the marco is expanded. Fix the macro to use the passed argument. Signed-off-by: Mohamed Khalfella --- drivers/net/ethernet/intel/i40e/i40e_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/i40e/i40e_debug.h b/drivers/net/ethernet/intel/i40e/i40e_debug.h index e9871dfb32bd..01fd70db9086 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_debug.h +++ b/drivers/net/ethernet/intel/i40e/i40e_debug.h @@ -42,7 +42,7 @@ struct device *i40e_hw_to_dev(struct i40e_hw *hw); #define i40e_debug(h, m, s, ...) \ do { \ if (((m) & (h)->debug_mask)) \ - dev_info(i40e_hw_to_dev(hw), s, ##__VA_ARGS__); \ + dev_info(i40e_hw_to_dev(h), s, ##__VA_ARGS__); \ } while (0) #endif /* _I40E_DEBUG_H_ */ -- 2.53.0