Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp629521pxb; Wed, 16 Feb 2022 00:19:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+aHNUbwN3UzgIBc8tqiA6YDs10ivYEWyiVAPLY81smyyQIhObvFiR7wLu3tKB+qYkvIUX X-Received: by 2002:a65:4989:0:b0:372:9d20:5139 with SMTP id r9-20020a654989000000b003729d205139mr1372419pgs.282.1644999575079; Wed, 16 Feb 2022 00:19:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644999575; cv=none; d=google.com; s=arc-20160816; b=ciMU/Am3P4l982JYOLIZfktthVkKUA+mtfchB8RRQacq+KwNO/xftE8wdhU1d/P/YH YgYhDklOElYmvWvMOA3rBUGEuGvbFn4u0pq+8P0yeUfjLYdWzBj6fpPN2MdqqNy93C58 +65Rja9tdRm/E5PUaR4gQ479XT+jHTiauhrDzQd20lpYK8XMdFAAjZ6Z4e6B4l19AgEj R+RFrUH8lNqpX7Him67lPcR9oikQxY5DyUYF884lP8h1Iy9NY/snL4BuIblIIh31B017 1v6AoNclhziwIBFr12MhAjdSwYrg/6RvpYOPE/oh+rRfkvlpPqspZEdd48GD2i7XOdHY hMJQ== 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=qDB/ruTefRjkxzn9jo1tMqQ2k4Ycp/6NXnHLOIJ5xMY=; b=oL+XK6IAMuhN61oz3/61obXjJRIiQJEXjb5X2Z8ehojhQxUu6bhGXP5Y7ODlFDt2c4 sY6W22oe59hb9IAh+MlH0nP1gHlPOyFhrsKiLGpRoYyDKSE8DAHzs10PeohOKQmzjsl9 ht2EOemFAFpZw1Iwsee0//UatiSBYrp50iuK8zlnpPMToLBA2waIFGuKHkXqrQQKdK5D tDNbZFmqJsn858o1sL4NQKuKaEknCpQ76MUi46RfWoojWKIaYzQ4EfQADpngmqX70brZ ye/lTox7RmY9fxK5XABznqz1rfRmi1r2OcEVjggJMv+UoxKK3UvVQ4BB4osyKnwRoISX KZMw== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f4si30783888pfd.61.2022.02.16.00.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 00:19:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 71AD3F7F; Tue, 15 Feb 2022 23:59:12 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230398AbiBPH7U (ORCPT + 99 others); Wed, 16 Feb 2022 02:59:20 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:44056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiBPH7S (ORCPT ); Wed, 16 Feb 2022 02:59:18 -0500 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA17A14099 for ; Tue, 15 Feb 2022 23:59:06 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R881e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V4c7Ght_1644998322; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V4c7Ght_1644998322) by smtp.aliyun-inc.com(127.0.0.1); Wed, 16 Feb 2022 15:59:04 +0800 From: Jiapeng Chong To: rostedt@goodmis.org Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] tracing: Fix kernel-doc Date: Wed, 16 Feb 2022 15:58:40 +0800 Message-Id: <20220216075840.63755-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 Fix the following W=1 kernel warnings: kernel/trace/trace.c:1181: warning: expecting prototype for tracing_snapshot_cond_data(). Prototype was for tracing_cond_snapshot_data() instead. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- kernel/trace/trace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 7c2578efde26..326d96304b84 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1122,7 +1122,7 @@ void tracing_snapshot_instance(struct trace_array *tr) tracing_snapshot_instance_cond(tr, NULL); } -/** +/* * tracing_snapshot - take a snapshot of the current buffer. * * This causes a swap between the snapshot buffer and the current live @@ -1144,7 +1144,7 @@ void tracing_snapshot(void) } EXPORT_SYMBOL_GPL(tracing_snapshot); -/** +/* * tracing_snapshot_cond - conditionally take a snapshot of the current buffer. * @tr: The tracing instance to snapshot * @cond_data: The data to be tested conditionally, and possibly saved @@ -1163,8 +1163,8 @@ void tracing_snapshot_cond(struct trace_array *tr, void *cond_data) } EXPORT_SYMBOL_GPL(tracing_snapshot_cond); -/** - * tracing_snapshot_cond_data - get the user data associated with a snapshot +/* + * tracing_cond_snapshot_data - get the user data associated with a snapshot * @tr: The tracing instance * * When the user enables a conditional snapshot using -- 2.20.1.7.g153144c