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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0EB1C433EF for ; Mon, 10 Jan 2022 21:12:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241185AbiAJVMI (ORCPT ); Mon, 10 Jan 2022 16:12:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240545AbiAJVMH (ORCPT ); Mon, 10 Jan 2022 16:12:07 -0500 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3431CC06173F for ; Mon, 10 Jan 2022 13:12:07 -0800 (PST) Received: by mail-ot1-x32f.google.com with SMTP id h5-20020a9d6a45000000b005908066fa64so15586123otn.7 for ; Mon, 10 Jan 2022 13:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=rD37BGhxE/h/9iakwyK07+eP2ppGsw/losnXy72cDnk=; b=iwgpaEwtCdh1+x9A4dKQXgihivGuP+fkfHLDs6NjkrYPkgRGg1/R9RYjigrNokqpYm SDSpgnDugkDVdkcdkLvyXrMfXbs3iBfz/OH/DgWH76OUbjuuOAVa5ruOUnNf1bxFqrep yHC8PyzzNdHVXnNuWLdreUtm/qazFCGgvmUP0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=rD37BGhxE/h/9iakwyK07+eP2ppGsw/losnXy72cDnk=; b=1LEjU+pXJzjrpqwzCUKf8bKTM6cNktzUqEuLuhE4LF1gJ3OLc2Pn+aiyU9Z8RW2JYb Rf/7DELQykiDwbo/R4etZcuGImeFD+uQhP0yJTylCSv6TaVI6gZ9CKLzzOr1ucPjUC0m CJMDePvL30BdTJjqPjYA0pD0nNPMsptv1rO9uz9MWBx21oGqHgrMbzSj6s7M+1mVufpK Xklh34Gj3lJ3e0CHUEypZkNAIygohg288gkQhuatLDrIu8C/no2xcGe16C28BxPtkuKP Bmipb2TPx7xOh/SyGr9Mzt+uMhmbXO1tzRqdEYBIdC7lPjUMU1Vf1V6Sg+PQSebHpX9m 1C4g== X-Gm-Message-State: AOAM533A4VN1x1rP+YqnwW+u8FuWSZiZvCSwyXvvJI+ISCRxc1aue3XM koz5zLo95B9bL5D9rbpuFbcjKAgQ7ZLEvOCB+koRH4i089U= X-Google-Smtp-Source: ABdhPJwTRc7q/BTpmMGUgZbRDE3CRCrvinB10XmkRE5r0q9f1a4XG9GoAPkTBBo+kTqzC5yxnGGzp3MoDVNBCuWfU7U= X-Received: by 2002:a9d:1a6:: with SMTP id e35mr1225422ote.77.1641849126549; Mon, 10 Jan 2022 13:12:06 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Jan 2022 13:12:06 -0800 MIME-Version: 1.0 In-Reply-To: <20220108095931.21527-1-linmq006@gmail.com> References: <20220108095931.21527-1-linmq006@gmail.com> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Mon, 10 Jan 2022 13:12:06 -0800 Message-ID: Subject: Re: [PATCH] soc: qcom: aoss: Fix missing put_device call in qmp_get To: Miaoqian Lin Cc: Andy Gross , Bjorn Andersson , Deepak Kumar Singh , Chris Lew , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Quoting Miaoqian Lin (2022-01-08 01:59:31) > The reference taken by 'of_find_device_by_node()' must be released when > not needed anymore. > Add the corresponding 'put_device()' in the error handling paths. > > Fixes: 8c75d585b931 ("soc: qcom: aoss: Expose send for generic usecase") > Signed-off-by: Miaoqian Lin > --- Reviewed-by: Stephen Boyd