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 B06E43ED3BA for ; Wed, 20 May 2026 14:43:20 +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=1779288202; cv=none; b=lK13vKZBXCpcLXqjxLJjHUQGf1nCTSh1MaJ1FpP8tRUsHVv4qpUdZZWXQYHRTKJ0vqlVMh+BmDo3iFcsaEw/c7h8dXBmPKJ+MtvKumR2o98U64zfST1RHk6vEfm0xnu3fxRGZzLXUmZlEuCajBRcu7zKVhWtHGFbLQ7yrB4S0CM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779288202; c=relaxed/simple; bh=J7kLm+I3MAqKAyBZE1mcasyO/Cs6A72dmGATyPWiNi0=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=PnhbOJQQcfrbGtaU8gvjwA9b9nwKCvyMEO2AQyG9+K7IxtIgOJOq+0h+efuedXQ0IbRO2pvXdOJ2X90rQCs8ZjyHvh7kyIIm7by6ZJk/AQ+wkH0k3goLLZ+FAbWFdaQaG8PD4Ize7pXiuR0lDF6BwbYHBmBCIIeJkDjSOrZzt54= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UgiYOx+l; 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="UgiYOx+l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCE651F00893; Wed, 20 May 2026 14:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779288200; bh=RJ6S9w9upkvq3xvcgXzKbQTQDZh6C8tK551cVrLrzIg=; h=Subject:To:Cc:From:Date; b=UgiYOx+lOXFkxpMxvvDxTRHraqFK0BPLDAfw9m72oyYd3eTRDQzpMHxhPii4szBsq nntWtmWaTpRL4PXmTw1iRHrXeVygI8qFuZxMTj4sXNon1nonWi7ec8Rt44IKvwqftb UUPQ/pQp9ismK2Ru/RQWFcSjgiPbUO6GVi4W1sYc= Subject: FAILED: patch "[PATCH] media: rc: ttusbir: fix inverted error logic" failed to apply to 6.18-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-cursor-myself-fe38@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.18-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.18.y git checkout FETCH_HEAD git cherry-pick -x 646ebdd3105809d84ed04aa9e92e47e89cc44502 # git commit -s git send-email --to '' --in-reply-to '2026052015-cursor-myself-fe38@gregkh' --subject-prefix 'PATCH 6.18.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; }