Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp656533pxf; Thu, 8 Apr 2021 10:11:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTI2kVZYXG8jNBU2GLxOBJifjnSzRqb9397IU1lY0KD1Zpse1jtceJkqw1VtUHYrkjwHoS X-Received: by 2002:a17:90a:c788:: with SMTP id gn8mr1846522pjb.60.1617901910171; Thu, 08 Apr 2021 10:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901910; cv=none; d=google.com; s=arc-20160816; b=o1U7g0GbGntMVYCzkIrz4fCX2VxhnS85qw5oSHoZwm6OKypxxkmMj9THOPd8oBvBRx qkGk0ZLL76EcpAvnAcZ4Wo1VAH7dIPgosCAhc73Q3IsB9e0Pwd4Kn6LDOkbQcaSvyLQv 97+IPOw4IYy/tmqyYL9U3ZvD64qHlhxZZ668ufPP+4diFGubznEV1p716DfFuxIwbbH0 v3iCrumG7zV/9n6oQvZe+AfE7kQT/4m10cak1JL+uMNpYIavQH/gjM/P8tnXOCCF+veb o9ft8EigZ0vC8/zssklPqLsAnq5eq1bfb1xDlV1nSGeSmIPEuJcUjpHXXD9vPZUUkDun Clig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=MXeneS4Vm02HCmXz91kKGlV2Pqy/N/GNJfg+AxZBAHE=; b=u93nwrebX+5s0sxhT3TEDk70VzUwTL7LJ1FStVHmFg4TcxIoN/40h+56w6MHz80tVY XXZHgc7XPvNfFYcesj3aRtnt4RbegGJqT7hrNsV2QxGr3CkZgAPLsn6/CX8q22QX2bDh hiaoZbwLFZ402LbS3bGPVsj9ql7IvzSZ8fGk+plmGnjdpt+1pQz1lIF+s6c6D9aJfPoX PKTYFf7xfSd3MXNERD07CqQvLd3n474koTcqenZXn1OjQqmKTMG1l6e912CHjzNOMXfj gKIkHM+s3IWLV1kPHmdYNqZuBFqu9BgcNi+xrnsKoR1yXLYN6SRhJcRyTRSaFBRcedJC tjGw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si24797939pgu.57.2021.04.08.10.11.37; Thu, 08 Apr 2021 10:11:50 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232631AbhDHRKi (ORCPT + 99 others); Thu, 8 Apr 2021 13:10:38 -0400 Received: from mail-oi1-f176.google.com ([209.85.167.176]:35378 "EHLO mail-oi1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232733AbhDHRKb (ORCPT ); Thu, 8 Apr 2021 13:10:31 -0400 Received: by mail-oi1-f176.google.com with SMTP id x2so2924521oiv.2; Thu, 08 Apr 2021 10:10:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MXeneS4Vm02HCmXz91kKGlV2Pqy/N/GNJfg+AxZBAHE=; b=RYPxumAf6cf7yy1Tkj/NfwdzLGDTd72BiGrDNrcHhhxf1XIiW3aqeKZtxxZZfxOFVx CAnmQWkQwXmHvA5+GlCYCHWINBYxb56gP4werVJxcrcjlpniWjBc/P7q77BE/heWSYuI 96D3c1AnMCJE3grvPPCYlINa2oYrSHoGCOfdcNZamJaQdFeP9rBa2pPy3KU0+Jxm8mrn B32m4MuY7FwG25q60j+tUD0zQbA4v+BemdbmCgaj4lmYp0cWqYl1o9GHYmbvAmltzTdC ZSwOac1v9mTt4Cp+tmzgdiNvj4lRTMy0tXLuAoVUCwj+yqULpgBPzmnBCr4rn24Tw7cH +7TQ== X-Gm-Message-State: AOAM532wGc0VIPKESzNTwzCCLI9Lma9pcwbTH33ds/WgoKAXAO5n2miQ xzfUON9WEL7vWi2JWu1b5pHWM5InbOHCFpsI+n0= X-Received: by 2002:aca:5fc3:: with SMTP id t186mr6705265oib.69.1617901819073; Thu, 08 Apr 2021 10:10:19 -0700 (PDT) MIME-Version: 1.0 References: <20210330063923.2269702-1-wanjiabing@vivo.com> In-Reply-To: <20210330063923.2269702-1-wanjiabing@vivo.com> From: "Rafael J. Wysocki" Date: Thu, 8 Apr 2021 19:10:08 +0200 Message-ID: Subject: Re: [PATCH] linux/intel_rapl.h: Modify struct declaration To: Wan Jiabing Cc: "Rafael J. Wysocki" , Linux PM , Linux Kernel Mailing List , kael_w@yeah.net Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 30, 2021 at 8:40 AM Wan Jiabing wrote: > > 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, > -- Applied as 5.13 material with edited subject and changelog, thanks!