From mboxrd@z Thu Jan 1 00:00:00 1970 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 D81AC1D90DD for ; Fri, 25 Oct 2024 10:18:59 +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=1729851539; cv=none; b=uhwBkd5qTw5gTgBALGIgXJO+/wuvl7aMd/WAubWtNJLLtNWIpBhCqq6Gnn5T78oBKWNr/L2i8EqB7YjisV3A2GMnhTyJJmMH9jMGi5ULlVA/93fve3dz7bk7Wvn/EkrMrhjrboRIJTHCo4A/IBoGYX3ze4ECC7roskpCFgogvc8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729851539; c=relaxed/simple; bh=IgKDcTC6KaQz4yryWEWXpMnpSN4/94FCEA8uwygxHnA=; h=Message-ID:Date:From:To:Cc:Subject; b=u5XXFG+sss8UihsB05MFtcBBVEauf1whBbaR6dzFvG44Hsy5+8dSw04owxcP/w5HRaiiRzZfIRoiZ5bTX2/Vb92r9n357HGQwTruTaB5v31l5J+5y/EtetkS8fHOtTKuQqpGiIM9IRAHmra2pPlYwmwTuqfvaiN+gavM9k4HRuE= 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 97DC6C4CECC; Fri, 25 Oct 2024 10:18:59 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.98) (envelope-from ) id 1t4HPx-00000004rep-22fV; Fri, 25 Oct 2024 06:19:41 -0400 Message-ID: <20241025101910.054222333@goodmis.org> User-Agent: quilt/0.68 Date: Fri, 25 Oct 2024 06:19:10 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/2] fgraph: Fixes for 6.12 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fixes for function graph: - Fix missing mutex unlock in error path of register_ftrace_graph() A previous fix added a return on an error path and forgot to unlock the mutex. Instead of dealing with error paths, use guard(mutex) as the mutex is just released at the exit of the function anyway. Other functions in this file should be updated with this, but that's a cleanup and not a fix. - Change cpuhp setup name to be consistent with other cpuhp states The same fix that the above patch fixes added a cpuhp_setup_state() call with the name of "fgraph_idle_init". I was informed that it should instead be something like: "fgraph:online". Update that too. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git ftrace/fixes Head SHA1: a574e7f80e86c740e241c762923f50077b2c2a30 Li Huafei (1): fgraph: Fix missing unlock in register_ftrace_graph() Steven Rostedt (1): fgraph: Change the name of cpuhp state to "fgraph:online" ---- kernel/trace/fgraph.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)