Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3384970ybt; Tue, 23 Jun 2020 00:35:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs6uiqIFciz5D00bLXTTQQ0RSczuNHO13/xHCb8rwaiprrpdofsxNJFql6VHNpJwED4hgp X-Received: by 2002:a17:906:19c8:: with SMTP id h8mr20005671ejd.512.1592897709672; Tue, 23 Jun 2020 00:35:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592897709; cv=none; d=google.com; s=arc-20160816; b=HMH98jLc7eMrB3+WmGmTu63C4VdIL56ViQaBe7jZnUejVhoFGfsh03xj7JuZgULf29 g2lwTKXGYvmdjlS888MxehzNhhFxD9riK9G45qHgQ4Ena1RTFaRIAQ0m65o3ZfjaJk6I VM5ms8msuLm9KqC3ntiUQTHxEUICHw1XDfEOslWrvCRADeaFnMv/nNHs5WzZZEcIK1GV djnTyyBd8HyIBvcnaBAziO87shfKbcWZKT6lNH1nKJA17iYbPA3Jpuq+/i/C8neRpBAs svb21IWxsFuXk6oTfyFLLtaNplw/jfajWKNIrFHHBSodBgiD3PxvjkcM9JYvUj08FfCX DnxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Aai4DLzRIJNbDIBbjcY8sHa/RT1qMPWOIhNkwYtBg7Q=; b=K1aV0s/SQFiecdF6U80nOPQqdIwAJXEb0UPCtzyWvn31NhwR+9I+JlS+VnxU+n6QEB lcGe1bvO1wXrAAIaQmoyzor/9qtyiVBsk8PT3xiYnKNnelDRSciGGgSTjki+RzbvkhfH 7axCsNOCs0RoLvunV8HG46C+Uma4yVnf94lunaQhARR3PMqMWM4bsQgd1RL25Jkhp6l6 n+mfxaGweZW6Vl1PzHIj4nZi7gXHavPAwVpdk0SBLxJumYZ2adUSpX+HkM8m8fSUBhgb lp07l/iNyFLgnvHBXzcjlPrnq99BoZhJPdUOadYTdaapLY9jmr6Ayn0HRnfG42t9B5pf 7Vbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HwCqEyJR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si11055083eds.189.2020.06.23.00.34.47; Tue, 23 Jun 2020 00:35:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HwCqEyJR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731346AbgFWHc2 (ORCPT + 99 others); Tue, 23 Jun 2020 03:32:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:49590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730951AbgFWHc1 (ORCPT ); Tue, 23 Jun 2020 03:32:27 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (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 BC6302072E; Tue, 23 Jun 2020 07:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592897546; bh=+oUvBnNw2wqYcDyCEiyKhDedkPbV15SlmZ8Y8J+muK4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HwCqEyJR/qcFe0/ooT/oJxzTKpNBhytUxS1afF7Ktk/RmjxARz02ReoqygdhnJ0Hi OIfovm1wUpXMpI1v2M9tSbShvMHI9Tx7VdXuZCoM/u9aLu+xItMLaK5+dD7lGYd0Gv ZHdezpHQnpi/lhMCMsm/ipDW36cd2/R1cXhgPANA= Date: Tue, 23 Jun 2020 15:32:21 +0800 From: Shawn Guo To: Markus Elfring Cc: Yu Kuai , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, Anson Huang , Fabio Estevam , Russell King , Sascha Hauer , Yi Zhang , kernel-janitors@vger.kernel.org, LKML Subject: Re: ARM: imx6: add missing put_device() call in imx6q_suspend_init() Message-ID: <20200623073220.GV30139@dragon> References: <2ab2cc9f-c720-75ca-e20c-0e4236ff45fd@huawei.com> <1542979d-f7f6-bcf1-53c3-22b7c076ddc7@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1542979d-f7f6-bcf1-53c3-22b7c076ddc7@web.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 05, 2020 at 12:15:32PM +0200, Markus Elfring wrote: > >> Do you find a previous update suggestion useful? > >> > >> ARM: imx6: Add missing put_device() call in imx6q_suspend_init() > >> https://lore.kernel.org/linux-arm-kernel/5acd7308-f6e1-4b1e-c744-bb2e5fdca1be@web.de/ > >> https://lore.kernel.org/patchwork/patch/1151158/ > >> https://lkml.org/lkml/2019/11/9/125 > … > > It is useful indeed. > > Thanks for your positive feedback. > > > > Although I didn't run cocci script, since it can produce too many false result > > which is hard to filter out. > > Would you like to clarify any corresponding software analysis options? > > > > BTW, I see you haver done the work already, I guess I won't send any patches > > related to 'missing put_device after of_find_device_by_node()'. > > You may continue also with contributions in such a direction. > I would like to point out that other developers occasionally got into the mood > to improve implementation details in similar ways already. > > > > Any idea why these pathes didn't get applied ? > > I can make assumptions about the reasons for the possibly questionable handling > of such patches. Markus, Could you resend it to my kernel.org address? Shawn