From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42BE6C4707F for ; Thu, 27 May 2021 07:38:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16651613AB for ; Thu, 27 May 2021 07:38:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234948AbhE0HkA (ORCPT ); Thu, 27 May 2021 03:40:00 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:32812 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233284AbhE0Hj4 (ORCPT ); Thu, 27 May 2021 03:39:56 -0400 Date: Thu, 27 May 2021 07:38:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1622101103; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rs8RICVtTMIR0duRixhXjZgs1a+gc2HbyPbdmHesWMo=; b=YPK8qEiK5JIyNnkcvloCXkzvcilVl5sMCdj78CPuXekRIOfJEELDc+9hRyt5QQIg3pFTgs OWjCZgq32FGrpE2Ol9qxsWRwF5uNwImxnBcZQJrQvXGnuSVyzvoAZhsteskQiDkAN9jFPN iuGkd1JZ+OigTI9t7ldsb0ZWEM7XPu/uZkflJCMLekjH4Glfi6APvAPH1JbbSPiCzchgDL un5RtRwLJuBaYrUNGSVRGHg0+f/97Dy1+9zb6VTfg4A5GD7JQ28Fl6Na9H+72Vkq/krDg+ W3sDrll0Mk2C0bA8pWMBPyWdBiRGaFC0CAHnP1OiDUVPnYKA8Wlklw6H4qjYeg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1622101103; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rs8RICVtTMIR0duRixhXjZgs1a+gc2HbyPbdmHesWMo=; b=DyT4ed+z/QAXkJpbrcPUq9wmv1mPaXTEyWbHDuL+ZNSVe54zn6/WSB/UyXN6/Nh1tNwWIo SbwMOXt/+3z98VDA== From: "tip-bot2 for Haocheng Xie" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf/hw_breakpoint: Fix DocBook warnings in perf hw_breakpoint Cc: Haocheng Xie , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210527031947.1801-4-xiehaocheng.cn@gmail.com> References: <20210527031947.1801-4-xiehaocheng.cn@gmail.com> MIME-Version: 1.0 Message-ID: <162210110198.29796.2648863634376476070.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/core branch of tip: Commit-ID: 875dd7bf548104bc1d2c5784a6af6cf38215a216 Gitweb: https://git.kernel.org/tip/875dd7bf548104bc1d2c5784a6af6cf38215a216 Author: Haocheng Xie AuthorDate: Thu, 27 May 2021 11:19:47 +08:00 Committer: Ingo Molnar CommitterDate: Thu, 27 May 2021 09:35:22 +02:00 perf/hw_breakpoint: Fix DocBook warnings in perf hw_breakpoint Fix the following W=1 kernel build warning(s): kernel/events/hw_breakpoint.c:461: warning: Function parameter or member 'context' not described in 'register_user_hw_breakpoint' kernel/events/hw_breakpoint.c:560: warning: Function parameter or member 'context' not described in 'register_wide_hw_breakpoint' Signed-off-by: Haocheng Xie Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20210527031947.1801-4-xiehaocheng.cn@gmail.com --- kernel/events/hw_breakpoint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/events/hw_breakpoint.c b/kernel/events/hw_breakpoint.c index b48d703..8359734 100644 --- a/kernel/events/hw_breakpoint.c +++ b/kernel/events/hw_breakpoint.c @@ -451,6 +451,7 @@ int register_perf_hw_breakpoint(struct perf_event *bp) * register_user_hw_breakpoint - register a hardware breakpoint for user space * @attr: breakpoint attributes * @triggered: callback to trigger when we hit the breakpoint + * @context: context data could be used in the triggered callback * @tsk: pointer to 'task_struct' of the process to which the address belongs */ struct perf_event * @@ -550,6 +551,7 @@ EXPORT_SYMBOL_GPL(unregister_hw_breakpoint); * register_wide_hw_breakpoint - register a wide breakpoint in the kernel * @attr: breakpoint attributes * @triggered: callback to trigger when we hit the breakpoint + * @context: context data could be used in the triggered callback * * @return a set of per_cpu pointers to perf events */