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 068103BED47 for ; Fri, 15 May 2026 15:31:44 +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=1778859105; cv=none; b=lvMvoNeTVo1IIDLHMQ6VCRcEomqHKzPB4wxbrCTk3sL7vjmPWzja4XpoBuJu6FdfDXvl0pieIQodXeX4gSXX0mov6tBWnJkaneDI3C7OfN6/kpux9fT90MUq3x/rlauExnjt3HA7wu0nSbHunlGkpQKDPSkzv3h1SbsIdW0BZsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778859105; c=relaxed/simple; bh=jG1+oHld3MPBXqwaNsoRBZJZTllytYw0yZyy6gBPGhs=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=AQW735UMrnyPgjNftmDVLhal5KoYeCeOwXMuPJmeWe+/gjsVh635zuxAL0jgse9Z3YLinsX87gP3vexvjqIA2RjuNjPAQfXhuTNY8mQWRfwhGVXxawlLyXY7ylremO76xj3GFzYumWstvkog3q6cHjFqf7kCV4ek3oLQz4bA6Nk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ySIYYzCm; 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="ySIYYzCm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C2FFC2BCB0; Fri, 15 May 2026 15:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778859104; bh=jG1+oHld3MPBXqwaNsoRBZJZTllytYw0yZyy6gBPGhs=; h=Subject:To:Cc:From:Date:From; b=ySIYYzCmT+RM0pCaUO4Nfxb8FFRZIsPKkNzNtWufiVIij47C3fl9W2DKHJgfthAPR K7thojNjFaW+DyBi8ouOy1b/gW/iLndSdOy6xH64ZcpyvtuDeexzi+Loo1SKeJXCYa 3oL4xI5jTQ23rkQTJ8dXWmvKRBQKEw0BiN+7XxtY= Subject: FAILED: patch "[PATCH] ipmi:ssif: NULL thread on error" failed to apply to 5.15-stable tree To: corey@minyard.net,stable@vger.kernel.org Cc: From: Date: Fri, 15 May 2026 17:31:41 +0200 Message-ID: <2026051541-going-septic-6fe5@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.15-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.15.y git checkout FETCH_HEAD git cherry-pick -x a8aebe93a4938c0ca1941eeaae821738f869be3d # git commit -s git send-email --to '' --in-reply-to '2026051541-going-septic-6fe5@gregkh' --subject-prefix 'PATCH 5.15.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);