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 823E23BED47 for ; Fri, 15 May 2026 15:31:47 +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=1778859107; cv=none; b=h/KE5GWO8+7t/gjA5Z4WpsGuCw6wtGjZplxg8PTPd+ERqekRsUQwHS0OSGruomQNBStnFe91knTawSpF+omrny6rqp7wkjzo01YeozcVixaefszRFqIb7klbQWBeL0NsffutwmXYc2Ba13+6RMvzfZJtzqZ91HsR5kCS6MTzJPI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778859107; c=relaxed/simple; bh=ci5IZQAraviTsSjTWj0IJJIitSOjJKWeX+NL6hT/L14=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=ms4FWkTI9turuFfyWWKwJdLxnPjjV+WWgv/wEVNsadY3JzjajpHs1RM8eDHH/o5VVf6wXDaGeflIj8kqoOHi1QbnSY+tTDDoKytk/U6CRyiyLP9tK+EipNq8xNuC8wvSFuLRFTjfN+rz54sAo+qWiY69pwDBFJ6PrFyvmbz+YvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sixtA+gl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sixtA+gl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16BC1C2BCB0; Fri, 15 May 2026 15:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778859107; bh=ci5IZQAraviTsSjTWj0IJJIitSOjJKWeX+NL6hT/L14=; h=Subject:To:Cc:From:Date:From; b=sixtA+glkymQEkY6mwfAaAQ822Q71MIGbs9xRFDIHC5vPCOD4A3anJqJK3xrl8BAp IPDv72mfj/Mk8oL1RDB0Ndy9kZlpGCKDqMooiEZqcw8Ab8Yes+C6JrfLQkoSTeezkU 9+IaTA3anELhYCLLFQ+/+KfjQf6KNG21L7KKHEJo= Subject: FAILED: patch "[PATCH] ipmi:ssif: NULL thread on error" failed to apply to 5.10-stable tree To: corey@minyard.net,stable@vger.kernel.org Cc: From: Date: Fri, 15 May 2026 17:31:41 +0200 Message-ID: <2026051541-privatize-sweat-2418@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x a8aebe93a4938c0ca1941eeaae821738f869be3d # git commit -s git send-email --to '' --in-reply-to '2026051541-privatize-sweat-2418@gregkh' --subject-prefix 'PATCH 5.10.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From a8aebe93a4938c0ca1941eeaae821738f869be3d Mon Sep 17 00:00:00 2001 From: Corey Minyard Date: Tue, 21 Apr 2026 06:50:22 -0500 Subject: [PATCH] ipmi:ssif: NULL thread on error Cleanup code was checking the thread for NULL, but it was possibly a PTR_ERR() in one spot. Spotted with static analysis. Link: https://sourceforge.net/p/openipmi/mailman/message/59324676/ Fixes: 75c486cb1bca ("ipmi:ssif: Clean up kthread on errors") Cc: # 91eb7ec72612: ipmi:ssif: Remove unnecessary indention Cc: stable@vger.kernel.org Signed-off-by: Corey Minyard diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index f3798f4e6a63..f419b46bf002 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -1905,6 +1905,7 @@ static int ssif_probe(struct i2c_client *client) "kssif%4.4x", thread_num); if (IS_ERR(ssif_info->thread)) { rv = PTR_ERR(ssif_info->thread); + ssif_info->thread = NULL; dev_notice(&ssif_info->client->dev, "Could not start kernel thread: error %d\n", rv);