From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 498E73ED138 for ; Wed, 20 May 2026 14:43:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779288204; cv=none; b=MbanQkq/pZ1xPhqXZ2MEAjInZnhVI3poyb0bOdmpfYamd8lJyUlMDa2gX8s1TZwFUwqrqp8pHGVtCZ2qpfWwPhUSjJWJ9cBB17mG2MciO4+71KxN/oGGHm3IabjYzvxB/o8ZIh7Sqfn9tDTGrtyFwpSrPqTPsreBNAezEnyYJS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779288204; c=relaxed/simple; bh=wgvwVp/BGVJ2lgx19hixNcJO8mSDR/5WK8L0cxOq1Ww=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Lthn6PHESOWSSfsTKhjkQojVKxiXXh1hqZl1eKJgTnzl7Nys+ML2lIQTxKbOTZpL/rG6Qfz2IoklWqRfzVrdFULIWcBHc2jUxR3dT/a0d67snVjoGj56fR8imK8x9a6nVsh3Ljbgy8F+jcZxCy9ugnBrN+HrLVLLPVaAMeSr9sM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tdJW3Nl7; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tdJW3Nl7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EB201F00896; Wed, 20 May 2026 14:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779288203; bh=qPlrMC+NHYFuYcLEzcMUz1RFispERnza+Uzfn0QeLFw=; h=Subject:To:Cc:From:Date; b=tdJW3Nl7p7AV7OJGNOHUtWyp2ROLyV4q8GpIvNj596vfRX3hbKt3/lilLKtqm5A+A ob41PxJa9hvSnMjBVrYT3C77wmWWaHwjUEUTcziCLLwDHFJtaQrb8tT6mLiM6Ljs/Y 2TzksL1O4aTMmvrzNtG7MlLGecmzobzOEtdj++Tk= Subject: FAILED: patch "[PATCH] media: rc: ttusbir: fix inverted error logic" failed to apply to 6.12-stable tree To: oneukum@suse.com,hverkuil+cisco@kernel.org,sean@mess.org Cc: From: Date: Wed, 20 May 2026 16:43:15 +0200 Message-ID: <2026052015-unpack-geek-541d@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.12-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.12.y git checkout FETCH_HEAD git cherry-pick -x 646ebdd3105809d84ed04aa9e92e47e89cc44502 # git commit -s git send-email --to '' --in-reply-to '2026052015-unpack-geek-541d@gregkh' --subject-prefix 'PATCH 6.12.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 646ebdd3105809d84ed04aa9e92e47e89cc44502 Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Fri, 10 Apr 2026 23:03:09 +0200 Subject: [PATCH] media: rc: ttusbir: fix inverted error logic We have to report ENOMEM if no buffer is allocated. Typo dropped a "!". Restore it. Fixes: 50acaad3d202 ("media: rc: ttusbir: respect DMA coherency rules") Cc: stable@vger.kernel.org Signed-off-by: Oliver Neukum Signed-off-by: Sean Young Signed-off-by: Hans Verkuil diff --git a/drivers/media/rc/ttusbir.c b/drivers/media/rc/ttusbir.c index 3848ad3a6b85..db2f6698a6c0 100644 --- a/drivers/media/rc/ttusbir.c +++ b/drivers/media/rc/ttusbir.c @@ -191,7 +191,7 @@ static int ttusbir_probe(struct usb_interface *intf, tt = kzalloc_obj(*tt); buffer = kzalloc(5, GFP_KERNEL); rc = rc_allocate_device(RC_DRIVER_IR_RAW); - if (!tt || !rc || buffer) { + if (!tt || !rc || !buffer) { ret = -ENOMEM; goto out; }