Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp35861yba; Mon, 20 May 2019 04:33:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHU23cfIzV6BV1wAzgHRpXAAFi4T5djk6/NACsJdTakaIXPOLbTrMu8yhqRBRDYEkC1Lu+ X-Received: by 2002:aa7:9dc9:: with SMTP id g9mr43005452pfq.228.1558351985584; Mon, 20 May 2019 04:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558351985; cv=none; d=google.com; s=arc-20160816; b=yIV6FxuC8uT9uhNpTZP6r6GYqnNHmRQxG6EBQQM5+F86QR5OLUTzFdoVqLMzSaqFWT 251B2nXlHxbh+Pypf/jZMVC9kzcjobDnWvGhvqE17W5yfOfXM6RPFK/31nacRWVZqIJO 8l1MauJEORLZ+40+ifP/bakhDzr0/0jVCfvfkpvpdxgTvqOHgK1HazWNMSmN5X5C+g8r xYf2sj646eQX/yh7BYlm0UO0IKw93zUZDD3xG39OLxDUssASZU0ZaFd+bdNxps1EwzU/ zRS1hGeA+y+TOrdYicVs+rjS++L7dqJ2WwiysgAAA+MFnqi2QndGu6O6QnXIWwvBRDEr yghw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=IYsuEQ1gauK1ralXzxsX+aAaTpjJibqVyGZQ0YEL4p0=; b=zNtMdxJ8caS18t6yMMBSn5NeNhYAfeDTVRgDEVyyXUXJ0jRJ6ILdg1FVeH5xxXegjg syY8l90E6xrc4YAyaKWSgprwTVz61Df7CJf/wV5xPDevxOXwkg4GwJ9+s8Q/76hwZOmf 3/ruyD29ltpwrpkGlQFTCJkfjJEL1SLaTn65Z3zM7WXhMdjFR8+E6DdQnbBpf+ub4xRu r8c2UOnkyVlM7O9CcvpZ5sg+M5Ii2xLbIKQ6LuZVWPMCN53I1PUSUHzZoj8Le8xSR+jn Jov0J2z1yBPT17UdRTH9vy/Su942yzUOuhKL+S+cHzS9Vul5UtksN6VzRC5yiaqp+sFq lK6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d66si19277661pfa.201.2019.05.20.04.32.49; Mon, 20 May 2019 04:33:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731142AbfETJZD (ORCPT + 99 others); Mon, 20 May 2019 05:25:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:48494 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729357AbfETJZC (ORCPT ); Mon, 20 May 2019 05:25:02 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id C27EA80450; Mon, 20 May 2019 11:24:49 +0200 (CEST) Date: Mon, 20 May 2019 11:24:59 +0200 From: Pavel Machek To: Ran Wang Cc: Pavel Machek , Leo Li , Rob Herring , Mark Rutland , "Rafael J . Wysocki" , Len Brown , Greg Kroah-Hartman , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" Subject: Re: [PATCH V2 3/3] soc: fsl: add RCPM driver Message-ID: <20190520092459.GC9748@amd> References: <20190517033946.30763-1-ran.wang_1@nxp.com> <20190517033946.30763-3-ran.wang_1@nxp.com> <20190519213844.GH31403@amd> <20190520085647.GA9748@amd> <20190520090748.GB9748@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0lnxQi9hkpPO77W3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0lnxQi9hkpPO77W3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > You are right, but the current code is "interesting". What about > > > > > > > > ws =3D NULL; > > > > while (ws =3D wakeup_source_get_next(NULL)) ... > > > > > > > > then? > > > > > > Did you mean: > > > ws =3D NULL; > > > while (ws =3D wakeup_source_get_next(ws)) ... > > > > > > Yes, that will be the same to my original logic, do you recommend > > > to change to this? :) > >=20 > > Yes please. It will be less confusing to the reader. >=20 > OK, if no other comment, I will work out v4, fix this and extra ',' > =20 > > Thanks (and sorry for cross-talk), >=20 > That's OK, thanks for your time. You can add Acked-by: Pavel Machek to that version. Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --0lnxQi9hkpPO77W3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlzicmsACgkQMOfwapXb+vI/kACfXfr5zSF0QsKLaIDUnn6ldYdL 9rUAn1IvhOf/+HglBb9Ro5uZKDJsTOI+ =fAL6 -----END PGP SIGNATURE----- --0lnxQi9hkpPO77W3--