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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4DD8FCD342C for ; Wed, 6 May 2026 22:42:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F3B1F4077C; Wed, 6 May 2026 22:42:07 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id t5j4b2dBSmza; Wed, 6 May 2026 22:42:07 +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 smtp4.osuosl.org 7F2AE407F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1778107327; bh=/rBu0tYuQwihUJHe0i1kYkc69adHjv66QFbm/3O1Vxo=; h=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=TLpnOePNRNiFWGw817EZhpWoN3rvN4IPAKVSTB4xRTTI5FwkjjeqshEsnVH9MYpkO DZt9aU6abd2TuTkgvvf5BxxHSdjcvO1Cmtx+M8nvAeOdEXDp9OznVyutyxx8YhHSdO RuLWH0olHmheQbBAOoV77b5ROaYmAfSc2maIC/G4TmJ3NzE4X1bA6dtrhUf34ALfC9 Zhf0jQY04uw5EUYHp7XGsAJilJvkJYUv0Xo4e4XbIOkhX0W5H3A3B5A8yjGhP7BxqG TwViLHhfthS0UmyeWctN/JNmOcw6YypQAYGkuwHGGubNkSalByWnsvZRldnwlenaXE xPard1rmNw1Vg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 7F2AE407F6; Wed, 6 May 2026 22:42:07 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id ABEBC317 for ; Wed, 6 May 2026 22:42:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8EDA34024A for ; Wed, 6 May 2026 22:42:06 +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 ugDMEmuf3O0k for ; Wed, 6 May 2026 22:42:06 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::132c; helo=mail-dy1-x132c.google.com; envelope-from=mkhalfella@purestorage.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org A62D3400EC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org A62D3400EC Received: from mail-dy1-x132c.google.com (mail-dy1-x132c.google.com [IPv6:2607:f8b0:4864:20::132c]) by smtp2.osuosl.org (Postfix) with ESMTPS id A62D3400EC for ; Wed, 6 May 2026 22:42:05 +0000 (UTC) Received: by mail-dy1-x132c.google.com with SMTP id 5a478bee46e88-2f30a4601bbso243322eec.1 for ; Wed, 06 May 2026 15:42:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778107324; x=1778712124; 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=/rBu0tYuQwihUJHe0i1kYkc69adHjv66QFbm/3O1Vx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95x5Ki2dq756MSgLSnCmPoh6eFWhS/hkmh5JRtkbk9bJD40nKw+R14QOJlqSwKdMWIyO X-Received: by 2002:a05:7300:a987:b0:2df:c5bb:3720 with SMTP id 5a478bee46e88-2f54c587faemr2885736eec.15.1778107323983; Wed, 06 May 2026 15:42:03 -0700 (PDT) Received: from apollo.purestorage.com ([208.88.152.253]) by smtp.googlemail.com with ESMTPSA id 5a478bee46e88-2f57038c644sm6008472eec.29.2026.05.06.15.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2026 15:42:03 -0700 (PDT) From: Mohamed Khalfella To: Tony Nguyen , Przemek Kitszel , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Mohamed Khalfella , Aleksandr Loktionov , Paul Menzel , Jacob Keller , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 6 May 2026 15:41:23 -0700 Message-ID: <20260506224123.691160-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=1778107324; x=1778712124; 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=/rBu0tYuQwihUJHe0i1kYkc69adHjv66QFbm/3O1Vxo=; b=N2W7kOMDmzE/Mp2fHtGZXUFkiWgoNZ5PNRWd3pzTNXUHJbapbbSrj8r8kxa/N20dYu FF4BZ7tLJEZ+8Dt4af2aI3C2ZLcXkviK0GLN7q8bYNtVSeD2yE+xcXzkUMN0J7bsK5C5 mylcXz+D4PbK5vWsGhpoCpNtb9Zx41tGFofDgS7RK8nlDZ4g6lymecWt1wPRhCN1jnw6 cNRAuE7N5/ojoqqfN9h/zJNSSCblh0Ue3WH8MGQpyJ82wOyqrEe7cveNJ4VLNuSdnbeV C23aD2zhfcNvN44wbzUwx0fnvZQ836PX5ro/0fh1CiWY52lNATZSTIx7DMkRMJHvu13A YyQQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=purestorage.com X-Mailman-Original-Authentication-Results: smtp2.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=N2W7kOMD Subject: [Intel-wired-lan] [PATCH v2] 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 happens to be the name of the variable in the context where the macro is expanded. Fix the macro to use the passed argument. Fixes: 5dfd37c37a44 ("i40e: Split i40e_osdep.h") Signed-off-by: Mohamed Khalfella Reviewed-by: Aleksandr Loktionov Reviewed-by: Paul Menzel --- 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 e9871dfb32bd4..01fd70db90866 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