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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 D925DC4363A for ; Fri, 23 Oct 2020 14:18:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7ABC021D47 for ; Fri, 23 Oct 2020 14:18:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750426AbgJWOSD (ORCPT ); Fri, 23 Oct 2020 10:18:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:56202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750401AbgJWOSC (ORCPT ); Fri, 23 Oct 2020 10:18:02 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8FAFC2168B; Fri, 23 Oct 2020 14:18:01 +0000 (UTC) Received: from rostedt by gandalf.local.home with local (Exim 4.94) (envelope-from ) id 1kVxtH-004ddd-PS; Fri, 23 Oct 2020 10:17:59 -0400 Message-ID: <20201023141609.430954343@goodmis.org> User-Agent: quilt/0.66 Date: Fri, 23 Oct 2020 10:16:09 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Andrew Morton , Qiujun Huang Subject: [for-linus][PATCH 0/2] ring-buffer: Minor fixes for 5.10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The success return value of ring_buffer_resize() is stated to be zero, and checked that way. But it is incorrectly returning the size allocade. Also, a documentation fix. git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: e1981f75d398c0afe83c8ffa4e5864f037967409 Qiujun Huang (2): ring-buffer: Return 0 on success from ring_buffer_resize() ring-buffer: Update the description for ring_buffer_wait ---- kernel/trace/ring_buffer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)