Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp7069030rdb; Fri, 15 Dec 2023 17:37:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBAzmeh5bkoecNUdQzXs+ueu6d5nhG7+FOULM5lWhcD86LDFPrgwz3cqt0fVat1Vn/2Ygv X-Received: by 2002:a05:6870:2e0a:b0:1fb:75b:12f5 with SMTP id oi10-20020a0568702e0a00b001fb075b12f5mr15884172oab.71.1702690643250; Fri, 15 Dec 2023 17:37:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702690643; cv=none; d=google.com; s=arc-20160816; b=YsO13eIFQi1MnSlgpnupFSuvSRT+ipSOUG5Q6S/lQB1IoKBzgEV92y7vHhqbsKqOM2 jyBQ1ZAX0RSS6azrsrarQfgVqyYudC5goGIScUsas/YB4RYV8dcSLtLuJH1So/wKIS2u Bx47ExfFYEi1YcYDsYEPg3hYr8OIay1rdEixcGwHHnZ1JvaD8k/q4lKYD6io4ktk2vOe cFxHM3S1OC0w50uc9M9hUI3CuHolz9k2IWXDjBFBH8KmLU7H4tsT4bfWNCR7Muwl1qS3 DI/t4FiRFe/hOKztNUg4eE+dF+nY4DUBYsx5bfpIS6xUlzsusUGHYK3wHn/CSkXdvM95 DmNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to:subject:cc :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=+Y0JPJJPzep/IjKB8BCcA6WfrMO7OG6J4OAsGWXbGKM=; fh=1i8hIVm1YljhASLnvoXDxijwu4cuspj/bwniD6uH+EU=; b=egY7MzpzchEoogh5vvbEbI5SpbakAra1QyeYJn58Z4faelshcZVEauGTM9F5/lxLni 0cEq01+3NXLeVNkzKaLTPK0gtysLonmKlb0R9pE8yc3J9yGfwSTjcJFxfxKf70soT4mJ jOtPbwqIsG/p6CKWKWHOBM9gbl7NWA2ASmSu8eCFgPrembvEEp7JZBvOY7VSYslTxPTM v1VPL9UqcKmrO/OkGAMD0IcNf+LPSh0f8YF+xixaNbBKK5uB6G4w6d8iHwFKA9quju+A IZ4F2Aa/ts54GpIoPXRL698EBTQBxUxtfVag5Wlmke4NQtuHj1+Veak5uL9tWkDmc1TO jARA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1930-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1930-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u2-20020a63df02000000b005898d648224si14013486pgg.12.2023.12.15.17.37.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 17:37:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1930-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1930-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1930-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.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 DC4C9287862 for ; Sat, 16 Dec 2023 01:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFAA81379; Sat, 16 Dec 2023 01:37:12 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (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 0105923C9; Sat, 16 Dec 2023 01:37:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4SsTF82M7Wz29dPr; Sat, 16 Dec 2023 09:35:56 +0800 (CST) Received: from kwepemm000007.china.huawei.com (unknown [7.193.23.189]) by mail.maildlp.com (Postfix) with ESMTPS id 1F5A11402CB; Sat, 16 Dec 2023 09:37:06 +0800 (CST) Received: from [10.67.120.192] (10.67.120.192) by kwepemm000007.china.huawei.com (7.193.23.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sat, 16 Dec 2023 09:37:05 +0800 Message-ID: <9ac4a3aa-602a-4bc9-aa73-c6896effefe3@huawei.com> Date: Sat, 16 Dec 2023 09:37:04 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird CC: , , , , , , , , , , , , , Subject: Re: [PATCH V2 net-next 2/3] net: hns3: dump more reg info based on ras mod To: Simon Horman References: <20231214141135.613485-1-shaojijie@huawei.com> <20231214141135.613485-3-shaojijie@huawei.com> <20231215080104.GV5817@kernel.org> From: Jijie Shao In-Reply-To: <20231215080104.GV5817@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm000007.china.huawei.com (7.193.23.189) on 2023/12/15 16:01, Simon Horman wrote: > On Thu, Dec 14, 2023 at 10:11:34PM +0800, Jijie Shao wrote: >> #include "hclge_main.h" >> +#include "hclge_debugfs.h" > Hi Jijie Shao and Peiyang Wang, > > hclge_debugfs.h defines a number of constants, such as hclge_dbg_tqp_reg. > > With the above include added, these constants are now also defined > in files that include hclge_err.h. Which leads to them > being defined but unused in hclge_main.c. > > At a glance, it seems that these constants are only used in hclge_debugfs.c. > Perhaps they could simply be moved there? > Yeah, I also plan to move them to hclge_debugfs.c. So I'm going to add a patch to the v3 patchset to move them Thanks, Jijie