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 0809D24A06A for ; Fri, 15 May 2026 15:31:36 +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=1778859097; cv=none; b=arA0EBXPOgJHx+9a/C1rSPtyIkyZokkMyMeFxO2g45cjtAEiiBe+9LQ/LsWB0Sw3fLm/hW+wgwpG9G2W65cbVL6BC2zr0QwJYSNVLYRGoJYYKRGacaLh3tFg9g7eOTgeywi5DF5meXpBO/3lT6TQ6+Q/G5ElLWxlZ9N/5ZJh8DM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778859097; c=relaxed/simple; bh=iSiGOrJFmERoJKqTwGJuPuefQXTOJO7seqNZ2GC6hIg=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Wik2gL4KI5KLqTqeZuIWYFM4TQxdWQP1VMjCPktgXmjV6E14jnI5dMraMzlfGYsRWX/kW8rORdBVXxGkDE3KGatWaqVP4N32kEeyM/1bSSB4WlPlIk2cKhq5rDzZtvZNpVX4mtaOdonLjZufOaYcnXSAktqJJcvjsUwHyuQ1Otg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LeGBcnUp; 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="LeGBcnUp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47F87C2BCB0; Fri, 15 May 2026 15:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778859096; bh=iSiGOrJFmERoJKqTwGJuPuefQXTOJO7seqNZ2GC6hIg=; h=Subject:To:Cc:From:Date:From; b=LeGBcnUp7GzVqoI2Qfd38SfsrxQaeI9vUbRJq3FhjBH0ZCX2khmVD94665G0UOweZ bYbxVf/RhUUmWTQSe/0g96QQgfamDLaXXqm2WA2pxl5Mq9bkG6m1Dy+PftPRcL4Xi7 dp5NubBrVTf5scUsKdOr4CH4tE/EQAlwmy/oHyOg= Subject: FAILED: patch "[PATCH] ipmi:ssif: NULL thread on error" failed to apply to 6.6-stable tree To: corey@minyard.net,stable@vger.kernel.org Cc: From: Date: Fri, 15 May 2026 17:31:40 +0200 Message-ID: <2026051540-path-mulled-0e19@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 6.6-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-6.6.y git checkout FETCH_HEAD git cherry-pick -x a8aebe93a4938c0ca1941eeaae821738f869be3d # git commit -s git send-email --to '' --in-reply-to '2026051540-path-mulled-0e19@gregkh' --subject-prefix 'PATCH 6.6.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);