Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4143645pxf; Mon, 29 Mar 2021 23:41:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyY+c4cmkoHygRhdvRZS/OzSaNrouDallAZnwtY4fgyX3hB/9OlIMNy5gLhu+SNXhECU8u X-Received: by 2002:a17:906:405b:: with SMTP id y27mr32568929ejj.332.1617086474739; Mon, 29 Mar 2021 23:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617086474; cv=none; d=google.com; s=arc-20160816; b=vQyGR5mKEpszGNv3O/iDjK+ZQA7Wnkm58kC+VBvTaHW0Q4lAXxOq/oYFNcYTNRDGHR o+k1Ht9b64rrHA+MdBdFRPlm/imO6Q5xf+ejok1JtI/kbBBLuwBKPQoxvkc5hr8m1m9p xrgtBfxyJzXEgxQmSfKHeKw3MbV59dUIipK07rnESq5WELuUhvORfqtsCWtKFyhaA2Qd 6D2QtKJ3AbMGjzwX9gJR+fXZ8iqlNrSt+9x0O6/cqGb/KGGUF2PPA/XKJ9Jlcrlb8U/A /4u9z37RtuTpJs1+rs8mxiO6bE7TId9Snmg9+kQuMua4qNJDWVDjSkNGVE+uoMhqI9EL wp6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5BOY2rfqNVK1EuuOUaIHXQx6JPz+fHBtgGhGzAmHhbo=; b=UB00XUCk/WDKPQcm6ZOlNNdjiXElsfgmVO6SDAXXE/b3MFfJVYQ4/2dM0fWHt8en2x sQCC6le/EHJqZdwntJ+g5QcWfJtxs/ADaCAUJRsI7JMw18H74hDsDNCHfhxXBXEvmQjS JltWeP515jgz0F4v56Z/TY6nQgFeyJQPQLETtsYNq9jgLwAxY2TsJtmlNbIRDrhHfk6Y D6bvacVxa57YsjWr54117XEM+GRPIpSARfu+EcJ9VqnDCMaqUQomv8LrBnWtDVYLDc3k 6o8B60ZJRhFwALwW2CgAqGmaVrP330UPXdo4FvKeUbIUbQQYdswR05iRszztTfwOVvd6 89Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a2si14341208edy.86.2021.03.29.23.40.51; Mon, 29 Mar 2021 23:41:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230209AbhC3Gji (ORCPT + 99 others); Tue, 30 Mar 2021 02:39:38 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:36578 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbhC3Gjg (ORCPT ); Tue, 30 Mar 2021 02:39:36 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 2274998045C; Tue, 30 Mar 2021 14:39:34 +0800 (CST) From: Wan Jiabing To: "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] linux/intel_rapl.h: Modify struct declaration Date: Tue, 30 Mar 2021 14:39:23 +0800 Message-Id: <20210330063923.2269702-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGU8YH0gaTElMH0pCVkpNSkxLQ01ITE9PQkpVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PlE6Kyo6ET8OSzcYLyEIP1Yc Nk0aCzRVSlVKTUpMS0NNSExPTE5JVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKT0xJNwY+ X-HM-Tid: 0a7881dbe162d992kuws2274998045c Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct rapl_package is declared twice. One has been declared at 80th line. By reviewing the code, it should declare struct rapl_domain rather than rapl_package. Modify it. Signed-off-by: Wan Jiabing --- include/linux/intel_rapl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/intel_rapl.h b/include/linux/intel_rapl.h index 50b8398ffd21..93780834fc8f 100644 --- a/include/linux/intel_rapl.h +++ b/include/linux/intel_rapl.h @@ -33,7 +33,7 @@ enum rapl_domain_reg_id { RAPL_DOMAIN_REG_MAX, }; -struct rapl_package; +struct rapl_domain; enum rapl_primitives { ENERGY_COUNTER, -- 2.25.1