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=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED 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 CD220C4360F for ; Fri, 5 Apr 2019 10:36:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 984F82171F for ; Fri, 5 Apr 2019 10:36:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="igJF+F8s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 984F82171F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c8B/5AIoVJx8ndKBsOLyVmOmULd4EsZKlv+AT3o8orc=; b=igJF+F8s3rEK6F A+oUtN9aGcKucawySv26giDWXSkcUbMsJS/ap9/6MtYe8IsHDaz+r1pPJD92bJif9Ux/3uBdx42RP ahYstIIk54RnFBABi/E3CrI0fUd/dk+TYn1UiEJaxdgSHrxlYt2+UiT0/x2wb8dLy9Ziwwx4wwSep Aq0zsxixYuuhpSniyRc7l3KBL4N2/AvS+/yhMoBzXWGUmJCRqAWYp8BIhBlo9B7qVkE9BKw1tEtqP jeXf96ukU4LFrEVR5Zp1xe1KEtOo36HTyvOW/JaN1RpYq6PGZi4f2vDNs9ndwLwa9pJm9xKKwBXVo 2WPjI/T6ljdXXA3Q0zfQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCMCl-0007W7-HK; Fri, 05 Apr 2019 10:36:15 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCMCi-0007VT-1g for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2019 10:36:13 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2019 03:36:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,312,1549958400"; d="scan'208";a="159003900" Received: from um.fi.intel.com (HELO localhost) ([10.237.72.178]) by fmsmga004.fm.intel.com with ESMTP; 05 Apr 2019 03:36:06 -0700 From: Alexander Shishkin To: Sai Prakash Ranjan , Greg Kroah-Hartman , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, Mathieu Poirier , Suzuki K Poulose , Mike Leach , Leo Yan Subject: Re: [PATCH] stm class: Fix channel free in stm output free path In-Reply-To: <20190405102442.25718-1-saiprakash.ranjan@codeaurora.org> References: <20190405102442.25718-1-saiprakash.ranjan@codeaurora.org> Date: Fri, 05 Apr 2019 13:36:05 +0300 Message-ID: <87v9zsd9ii.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190405_033612_137563_219D6969 X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sai Prakash Ranjan , Rajendra Nayak , Tingwei Zhang , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Sibi Sankar , Vivek Gautam , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Sai Prakash Ranjan writes: > From: Tingwei Zhang > > Number of free masters is not set correctly in stm > free path. Fix this by properly adding the number > of output channels before setting them to 0 in > stm_output_disclaim(). > > Currently it is equivalent to doing nothing since > master->nr_free is incremented by 0. Good catch, thank you! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel