Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4529947rwo; Tue, 25 Jul 2023 07:24:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlGPuXs9YQCeyx4YexsAwvrGEdBeuGBhXrIaoIWrJUR1BGfyDFgSZni03JCTiLXD/K9TKXxw X-Received: by 2002:a17:902:eccc:b0:1bb:c896:1d91 with SMTP id a12-20020a170902eccc00b001bbc8961d91mr70726plh.31.1690295092479; Tue, 25 Jul 2023 07:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690295092; cv=none; d=google.com; s=arc-20160816; b=jgvgDUcAv1s9lHLijjW43tUWo8ZFJwRF82f5trW97GISf+p+Dmbe7s6HDhIP24jGpO WSl/XVmvUwuYVh+zwCpYNYFiN7BJxqx9QvwCD3qT203mkcP9TjFB0KtZRUV0c3VU5rgE rOoE1ToRZTOhLrywU4XtxJnm8/9RR2nb6xbMmGKw2lGbm9aUzJrwDZymbAJSuaH/QGuE 8yNmTXOdlfIJmD8Edracp75UTyEsNPk2SGdNgV4c38muuy6SkpTEQMbsOFgYcEpY/F6J Ytz2j5P9ZENqcjzl1aV8CsIwrUfT41/n6ijkObgYlJqO/c33qCCjNrJ14RSVC4TxjV9z 2lFw== 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=R5o4a1lrjyW+ZjWSeH7OX0lnhXhewTpO4spP5FkkZT8=; fh=vFWzvsBzxRP1KwuthXJt1DQulO/RB2oWeqO1x8oK3Mg=; b=hHsAf934sWuRC6BqXI1U4eiEWWl5n9zXdUmp6O5Hz4d34BrSeMyGxvW3uP6JHFPkv8 mlj3Cz0xLyNHOSBCePBj4jg+iMX0bXaLOIO+qfTU5qFjwzw2QpnyWCEgHpBsnNLC6IOA ICX3aTO/RtPOfcEwtJfOLkabWubWKBlMt0nI2E6Lv77AxolyFI6pixYVvC0qu/jAxUpO OMVatFBBz/ybcUhKnzi2JAgtm9umM+E9GSAib3BZMkWmZm0mP5uhFNvahZq3iFTWkQQh ugDpVgcH9O/jnJDh7A7u8+OUL2r6sK6BQuUE2vtIt1ih+fYpqk/voPx1LMFRnHipE1u3 TCTQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a631c54000000b0055bdcb7dd5csi11390991pgm.701.2023.07.25.07.24.39; Tue, 25 Jul 2023 07:24:52 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231516AbjGYOGO (ORCPT + 99 others); Tue, 25 Jul 2023 10:06:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230235AbjGYOGM (ORCPT ); Tue, 25 Jul 2023 10:06:12 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 89944106 for ; Tue, 25 Jul 2023 07:06:11 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ACE6B15BF; Tue, 25 Jul 2023 07:06:54 -0700 (PDT) Received: from e127643.arm.com (unknown [10.57.2.54]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C53FD3F6C4; Tue, 25 Jul 2023 07:06:09 -0700 (PDT) From: James Clark To: coresight@lists.linaro.org Cc: James Clark , Suzuki K Poulose , Mike Leach , Leo Yan , Alexander Shishkin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] coresight: Fix all W=1 build warnings Date: Tue, 25 Jul 2023 15:06:04 +0100 Message-Id: <20230725140604.1350406-1-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 The kernel test robot looks for new warnings in a W=1 build, so fix all the existing warnings to make it easier to spot new ones when building locally. The fixes are for undocumented function arguments and an incorrect doc style. Signed-off-by: James Clark --- drivers/hwtracing/coresight/coresight-cti-core.c | 2 +- drivers/hwtracing/coresight/coresight-etm4x-cfg.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-cti-core.c b/drivers/hwtracing/coresight/coresight-cti-core.c index 7023ff70cc28..3999d0a2cb60 100644 --- a/drivers/hwtracing/coresight/coresight-cti-core.c +++ b/drivers/hwtracing/coresight/coresight-cti-core.c @@ -22,7 +22,7 @@ #include "coresight-priv.h" #include "coresight-cti.h" -/** +/* * CTI devices can be associated with a PE, or be connected to CoreSight * hardware. We have a list of all CTIs irrespective of CPU bound or * otherwise. diff --git a/drivers/hwtracing/coresight/coresight-etm4x-cfg.c b/drivers/hwtracing/coresight/coresight-etm4x-cfg.c index d2ea903231b2..c302072b293a 100644 --- a/drivers/hwtracing/coresight/coresight-etm4x-cfg.c +++ b/drivers/hwtracing/coresight/coresight-etm4x-cfg.c @@ -40,7 +40,7 @@ * Invalid offsets will result in fail code return and feature load failure. * * @drvdata: driver data to map into. - * @reg: register to map. + * @reg_csdev: register to map. * @offset: device offset for the register */ static int etm4_cfg_map_reg_offset(struct etmv4_drvdata *drvdata, @@ -132,7 +132,7 @@ static int etm4_cfg_map_reg_offset(struct etmv4_drvdata *drvdata, * etm4_cfg_load_feature - load a feature into a device instance. * * @csdev: An ETMv4 CoreSight device. - * @feat: The feature to be loaded. + * @feat_csdev: The feature to be loaded. * * The function will load a feature instance into the device, checking that * the register definitions are valid for the device. -- 2.34.1