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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7F602C433F5 for ; Mon, 21 Mar 2022 04:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sACuPB00EmYrPPTsgCmmmgbEyjXBVLcGIgJ9loOcpFY=; b=zJH8YPkhMxx8n5 Kpk2uqJD5cIOyZtZIsB7hMObot1OyMBSrca2NVD414FEgAJJoJlN7u87X7Iwb5VW6VCDf1Bo3pLWF 2BG2rcElce1++aQD3tmmGImUAw6fHJsVtnj0SmXyj/RUdgkTMCCad5PuXPb8lbCm2OIqUXi8PRrwY P0EUlO1UM44wccltk8bqDPRX1cwErQQap6TrosQocsNhCpYTbpJPJ55kq/Z1AAGsIluH7EEv2zHJ0 COUct4GeuKRXYBrORZz0OmCnkl9zajXH1Ylz9xn9NEPb1NIBJU965kFyniY3+0YCDHfQpXxTupBME k6B1F2RulB4aAnSSUpzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWA6w-006VnT-Kw; Mon, 21 Mar 2022 04:57:42 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWA6t-006Vn7-6F for linux-arm-kernel@lists.infradead.org; Mon, 21 Mar 2022 04:57:40 +0000 Received: by mail-pl1-x633.google.com with SMTP id q5so2488910plg.3 for ; Sun, 20 Mar 2022 21:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YLwShMZpFVnttuqvEbdrkmmsS2bGXBfGBiSI2Uo2yco=; b=TpTUiczvhMBuZwTGPVhmDTRUbN1/0RAcJBgl6ZMwoyjWAUjV/T1yttZ2XtExcNES37 ot9N1RZraiX1CofYXH4B/3oIFhyfe4CRUdbcuuhMyq9AFSaiZAgBgFsbmt16ax9XlaFM 6vcb7QiKjmFJc9qWFMyvJFSHJrNv5v4Bwr0osGJDX0aLvcE1zU8uhAJjyOuy9i0+B2MA hwoL9xiGV6NFNSlnBz6X7lY0YEZuPrhcSlcvLTQjURne87KF3GIZn37VUGKyyWfBGjIB /7D8tVgVYaodGzRq9aCIO9+/A2W3hnngLS9kGhhFDUR13nDf7BVRY0fkmOEeeQokz3HF PK9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YLwShMZpFVnttuqvEbdrkmmsS2bGXBfGBiSI2Uo2yco=; b=HIZHu2QEzUjEfFyQDTCahyg+KlPwpiRsfin54TltCZ45n/eQyZbE6YwXpnybnQMaF+ 7vVarjQqFV3DCeHNUJSoevWR4f988lL2lVSUgjRu7P8wO50SyAfo7lQuR1yJcPcER0dm psLpwMW35h1BgOpA57ciNIxqpIkqJI8SFTGNq71nPcRr6/0ZqjwT8/Edk6OhOXuM0QK7 HwMw9VGL7T5bpIiE+29UXkM2vUzV3Lhw7FUXa6+7bK0eNUV2nmlK6lley9v2y2iQh2cT rbg5IUXGR0rtDPeBGN21p9oZFjsfJKSSvlaZ8F6cHLHfa9Mzt6bd5V26JbCgaHoW7X4C bkug== X-Gm-Message-State: AOAM530M2tMucWbYf2qW/5OE4AnvOPOV+1dPqIske2EbVMPPYudz7wVB IqBlI75OFk3anPcIiAP1Pfg= X-Google-Smtp-Source: ABdhPJy2QKuXkIMIpb6OZyTCemvsSgDY73bTi2uKa1E5rbRhlkD5fLusyOwSbP8pyLxk6aQU3aRkYA== X-Received: by 2002:a17:90b:3807:b0:1bf:6c8e:f9b7 with SMTP id mq7-20020a17090b380700b001bf6c8ef9b7mr24357499pjb.16.1647838657418; Sun, 20 Mar 2022 21:57:37 -0700 (PDT) Received: from google.com ([2620:15c:202:201:31f6:c8f1:6f10:b2ec]) by smtp.gmail.com with ESMTPSA id bh3-20020a056a02020300b00378b62df320sm13304028pgb.73.2022.03.20.21.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Mar 2022 21:57:36 -0700 (PDT) Date: Sun, 20 Mar 2022 21:57:34 -0700 From: Dmitry Torokhov To: Zheng Yongjun Cc: mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: fix reference leak in stmfts_input_open Message-ID: References: <20220317131604.53538-1-zhengyongjun3@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220317131604.53538-1-zhengyongjun3@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220320_215739_267602_2890D4CF X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 17, 2022 at 01:16:04PM +0000, Zheng Yongjun wrote: > pm_runtime_get_sync() will increment pm usage counter even it > failed. Forgetting to call pm_runtime_put_noidle will result > in reference leak in stmfts_input_open, so we should fix it. > > Signed-off-by: Zheng Yongjun Applied, thank you. -- Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel