Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1207714pxb; Fri, 18 Feb 2022 03:01:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpl4vkhR36fDvJ1NYICPJcoIiTIkwNxDbI/ZDPu54Ab/1tYHP2w3PBUTvql+IDr7dy7ywZ X-Received: by 2002:a50:aad8:0:b0:404:c300:628c with SMTP id r24-20020a50aad8000000b00404c300628cmr7468277edc.175.1645182061430; Fri, 18 Feb 2022 03:01:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645182061; cv=none; d=google.com; s=arc-20160816; b=gxQTGD7dUo7fp9M8p7yDrDNLNfImxs0Fb6CSNtP7+dSAX47bFnuEaGuA6nktssQ+o7 e4ItKZxXMYXIiluNEqTU4gKB0SIXNZvLzhuNzlWsiszxJZ6oJxASlT2+Z55vBzCOe6Z0 NsvYpzq2P1zz+3QbA3BuBhmiUKoLvXfdWs0KBBgGCNRZdU7Iik72f/VZM2RNrqnGFibZ ubCMKK/Qk0ZhBCUAv30eidg+TprBirdmj6fMQ6G/adTRrK/kIilVEVnBVZIL34gWE/Cz s8qy/vxXszkCrs1/PDXnlbHOfyJ0ldtDt8ZWZaIMHxKA9jUOO8Yxcfrs3CgEGJeKMLso MAtQ== 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=ANjlhZpZ/tsZnMyWKplowzP/T4cMBmQwFCdBWaKKlMY=; b=Sv+uVqJiozo7QcWFfR7affyP//K8DWq/mdENVXwJBRbEwTWSN5qBNlzGi0MCuw5sKq V05v+BARgxmVrXN7VeUGDcWJyLcDpVRKh/2ePJyFYKeMPS3ULi65oCo145zDz/YKa//u ybKvh+WoW/qwO4NmbRODX9JoO/YNJxYS7gRW2LU5+nfJGl7BZyTrg7xz55TmH9Og+FvQ OB52IWo2SIEKxKszpwXunC37CHcjjnG4h1UIuro411XHg4ekD9W/aQIUo9n2312jReOZ CVOeBSlfdQ8h0fQBcaW/xyrFBLV3yQaB+gl+wj5iCOhCghUflOatxSwDudtE+3FnTjNw poug== 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=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq12si2511394ejc.694.2022.02.18.03.00.38; Fri, 18 Feb 2022 03:01:01 -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; 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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233910AbiBRKJP (ORCPT + 99 others); Fri, 18 Feb 2022 05:09:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233909AbiBRKJO (ORCPT ); Fri, 18 Feb 2022 05:09:14 -0500 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FCD938DBC for ; Fri, 18 Feb 2022 02:08:57 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V4p-Hvc_1645178930; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V4p-Hvc_1645178930) by smtp.aliyun-inc.com(127.0.0.1); Fri, 18 Feb 2022 18:08:54 +0800 From: Jiapeng Chong To: rostedt@goodmis.org Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH v2] tracing: Fix kernel-doc Date: Fri, 18 Feb 2022 18:08:49 +0800 Message-Id: <20220218100849.122038-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=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 7c2578efde26..745c5b8a544a 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1164,7 +1164,7 @@ 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