From patchwork Tue Nov 29 23:08:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srinivas pandruvada X-Patchwork-Id: 27534 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp616688wrr; Tue, 29 Nov 2022 15:14:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf4dILxifYJbRWUkIn5RJtjpVPVF0jjb19eDpQsYQz5/wZPUflOUdCtUoMWJNDLNWyoI/cS9 X-Received: by 2002:a17:906:3155:b0:7ad:90db:c241 with SMTP id e21-20020a170906315500b007ad90dbc241mr49714519eje.284.1669763671328; Tue, 29 Nov 2022 15:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669763671; cv=none; d=google.com; s=arc-20160816; b=pyic/8zib64uPN9D79O231cb93VkT+91onAfajMKK+Y2hK8zgLPhGY2bXaPTMFARM5 Og9BtLbi9V20y8Mbbjnp4dDUYN94cq9/lQUlkNK2xPnw/J/ce60EQ1HWn061xMCetkUV 8D3jBH8hzZwVpqFfc3sqZ8EtYyWSfUyTLlksR0RvjqFi3B/Y8qnFBvOqhGk4EpN30D9R HRgqgfI0+AoAEXjO6kGo97o+tn9Qmx/t/YJ3AWb+wlS/BZxqfw6p9W4LGNhTCSe0AWik wDj8VSU9CefV0FiFOkJL6trRW9yIH8aQnX1B+Y6pZR0pAQtwcicYUZ+0kBg4BudrIUlU uotg== 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:dkim-signature; bh=MJbL0qdurk7memFBfiIH2KmTQ3h3hrkRtlCOZ1uaNDY=; b=nFXF91fVj5vCxnYgI9mPnF45RTtBprMdBiFAsWJUKOJPaFY2flCh7gtXDWhPOAveH1 JvOSxNTw5yu6x9skAty+be7A3y+da6ZlO0ag0tTmC+lTmvaZkj8caNfNdeEvZEPexGru d3+1EMbWQyQ9SCrXd30728OVFCM95dmGZSniql7NiOUOL/fpyXF2ah3d1MaK563gGeb7 6//7lZrUxFVx/FHfR8/EakDsxE7gIxNmcUqsLwjBcZBtM6nmDvg6D6wserLsKz9nvQj/ xEQdcxdsQ+t2cDUrctmeA+EvWZFvr8InGoZcSGCur8KvyyugLbZyWV7Ddn7cJLPBO5dU tR/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="FdmIIWf/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hh2-20020a170906a94200b007ae5b41855fsi11596730ejb.895.2022.11.29.15.14.05; Tue, 29 Nov 2022 15:14:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="FdmIIWf/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237050AbiK2XIl (ORCPT + 99 others); Tue, 29 Nov 2022 18:08:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236885AbiK2XIk (ORCPT ); Tue, 29 Nov 2022 18:08:40 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD41F6DFDF; Tue, 29 Nov 2022 15:08:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669763319; x=1701299319; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fLd+RbKdEt5N7t1sQuFBcbp2DIuuw03BqlrwDN3LPTY=; b=FdmIIWf/cCk5cLAVJzF+Giou1iwhxHoIwUTrzJjQEjdYijFnAgOMw2Vb d2LH+M5FTs0DaLy0P8osGCvfaKhKAK2/I8vKtRxzS+jJMo36GfgFN9XgY H0DsED30pNrImxMUiDB4JwUzZldSMYNMFG73BaNb/Awr/gt3lT6lTzmDk 401u+7fxdFaA801hwHRybGDK9b4Gvq3qCDL/RORunIQKtlSPC62DAOZdq d0e3px89mP5lYHqyE62tSTTB9Pcoo1sz3guxGcvZFlGkMlAxs6w1K5O3P 1ZEwWFWbZrZ++xl7iC87fBOwYcEyFHAeSYCd/xPD5FktDDoAzManpHBvb A==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="342173498" X-IronPort-AV: E=Sophos;i="5.96,204,1665471600"; d="scan'208";a="342173498" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 15:08:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="707416267" X-IronPort-AV: E=Sophos;i="5.96,204,1665471600"; d="scan'208";a="707416267" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga008.fm.intel.com with ESMTP; 29 Nov 2022 15:08:38 -0800 From: Srinivas Pandruvada To: rafael@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH] powercap: idle_inject: Fix warnings with make W=1 Date: Tue, 29 Nov 2022 15:08:21 -0800 Message-Id: <20221129230821.4021932-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750874111452349690?= X-GMAIL-MSGID: =?utf-8?q?1750874111452349690?= Fix following warning at three places: Function parameter or member 'ii_dev' not described. Signed-off-by: Srinivas Pandruvada --- drivers/powercap/idle_inject.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/powercap/idle_inject.c b/drivers/powercap/idle_inject.c index 999e218d7793..fe86a09e3b67 100644 --- a/drivers/powercap/idle_inject.c +++ b/drivers/powercap/idle_inject.c @@ -147,6 +147,7 @@ static void idle_inject_fn(unsigned int cpu) /** * idle_inject_set_duration - idle and run duration update helper + * @ii_dev: idle injection control device structure * @run_duration_us: CPU run time to allow in microseconds * @idle_duration_us: CPU idle time to inject in microseconds */ @@ -162,6 +163,7 @@ void idle_inject_set_duration(struct idle_inject_device *ii_dev, /** * idle_inject_get_duration - idle and run duration retrieval helper + * @ii_dev: idle injection control device structure * @run_duration_us: memory location to store the current CPU run time * @idle_duration_us: memory location to store the current CPU idle time */ @@ -175,6 +177,7 @@ void idle_inject_get_duration(struct idle_inject_device *ii_dev, /** * idle_inject_set_latency - set the maximum latency allowed + * @ii_dev: idle injection control device structure * @latency_us: set the latency requirement for the idle state */ void idle_inject_set_latency(struct idle_inject_device *ii_dev,