From nobody Tue Nov 26 11:59:05 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9EE00205ABA for ; Fri, 18 Oct 2024 20:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729282052; cv=none; b=eTB8UurxD4QX8QHSeL+rA7CuIwlhHhApKgaj1uh+bQeDFlQRP2JjcRNINBJXCHZQYJiQB8ino7IizcmYvOe+CwsM4GRi/hstZ82Oh+z+XYwBBxYcN6xF0x4Zm+sOkcHjWI249p0YP5agGNtru/m9TM8YUFG7tJ95p1V0uPRPF/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729282052; c=relaxed/simple; bh=RGO6OEHIuswcIR56IbAUE5Z10gkWfl1hIWGObojACzA=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=ihJ4gbMiGq2F6Er2A7FnGciWGWUv5nTWHtKhpSW33YpJj+tpz/AJ5iTyR67DvIviaWXKHFNaUwVvDgVI7B+F0lQAmYzhz8iqRY/O+AVHBF9fLvIoMEc1o/uRUQFUkOXBgIvItbRCnnuj3NBZtvTEq5NRmmaaYoa/M4/2OioJ17Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E060C4CED2; Fri, 18 Oct 2024 20:07:32 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.98) (envelope-from ) id 1t1tGR-00000004Exo-00wl; Fri, 18 Oct 2024 16:07:59 -0400 Message-ID: <20241018200758.870680323@goodmis.org> User-Agent: quilt/0.68 Date: Fri, 18 Oct 2024 16:07:48 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Julia Lawall Subject: [for-next][PATCH 2/3] ring-buffer: Reorganize kerneldoc parameter names References: <20241018200746.849970367@goodmis.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Julia Lawall Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Cc: Masami Hiramatsu Cc: Mathieu Desnoyers Link: https://lore.kernel.org/20240930112121.95324-22-Julia.Lawall@inria.fr Signed-off-by: Julia Lawall Signed-off-by: Steven Rostedt (Google) --- kernel/trace/ring_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index a6a1c26ea2e3..696d422d5b35 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -2437,9 +2437,9 @@ EXPORT_SYMBOL_GPL(__ring_buffer_alloc); * __ring_buffer_alloc_range - allocate a new ring_buffer from existing me= mory * @size: the size in bytes per cpu that is needed. * @flags: attributes to set for the ring buffer. + * @order: sub-buffer order * @start: start of allocated range * @range_size: size of allocated range - * @order: sub-buffer order * @key: ring buffer reader_lock_key. * * Currently the only flag that is available is the RB_FL_OVERWRITE --=20 2.45.2