From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3572C2BA83 for ; Sun, 9 Feb 2020 18:15:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75A6820820 for ; Sun, 9 Feb 2020 18:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581272118; bh=HTxGajO8RFT7CS0Qds/QD+Tau4uLSDe/7051v8JR3pg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=t7+J35TfLf/tDKk1CLNJE0aNm2UgzUSeEkuH8CVtTn5UEbd9I1wyb0M5Ferj69csx P1ZRILunjKvgqjbeIOFhGdU/JnetITrW2ljIMO/RpyMuEBaWSgX05lu0/65dmOa4Mi 0ZeHJTM5FBHUfwe8oSgmkvz1WSbN0mRPJqRRNUj4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727408AbgBISPR (ORCPT ); Sun, 9 Feb 2020 13:15:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:52098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727388AbgBISPR (ORCPT ); Sun, 9 Feb 2020 13:15:17 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F18CD20733; Sun, 9 Feb 2020 18:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581272117; bh=HTxGajO8RFT7CS0Qds/QD+Tau4uLSDe/7051v8JR3pg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eCUhQuyI8gk3JcSf0SJPLrSyLicQHcxrdy4lcHItxHH1Bj5kH6+r/uzKI0biwX8Jb CLBXew5hhzpAAfC5m9YnvYpnUeJGZwM5lj02LJUHky0H0D1AMWnRTlENIBZ0WBTdwI mHumgyL/4LykYv3yWlWObSW84ejbkQRdWB+IDJG4= Date: Sun, 9 Feb 2020 13:15:15 -0500 From: Sasha Levin To: gregkh@linuxfoundation.org Cc: hverkuil-cisco@xs4all.nl, mchehab+huawei@kernel.org, stable@vger.kernel.org Subject: Re: FAILED: patch "[PATCH] media: cec: avoid decrementing transmit_queue_sz if it is 0" failed to apply to 5.5-stable tree Message-ID: <20200209181515.GM3584@sasha-vm> References: <15812488366474@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <15812488366474@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sun, Feb 09, 2020 at 12:47:16PM +0100, gregkh@linuxfoundation.org wrote: > >The patch below does not apply to the 5.5-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 . > >thanks, > >greg k-h > >------------------ original commit in Linus's tree ------------------ > >>From 4be77174c3fafc450527a0c383bb2034d2db6a2d Mon Sep 17 00:00:00 2001 >From: Hans Verkuil >Date: Sat, 7 Dec 2019 23:48:09 +0100 >Subject: [PATCH] media: cec: avoid decrementing transmit_queue_sz if it is 0 > >WARN if transmit_queue_sz is 0 but do not decrement it. >The CEC adapter will become unresponsive if it goes below >0 since then it thinks there are 4 billion messages in the >queue. > >Obviously this should not happen, but a driver bug could >cause this. > >Signed-off-by: Hans Verkuil >Cc: # for v4.12 and up >Signed-off-by: Mauro Carvalho Chehab Another duplicate commit: 4be77174c3fa ("media: cec: avoid decrementing transmit_queue_sz if it is 0") 95c29d46ab2a ("media: cec: avoid decrementing transmit_queue_sz if it is 0") -- Thanks, Sasha