Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp132532ybl; Tue, 13 Aug 2019 17:26:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1OCuF9j2Ssr89dE0oSqKXkRpJJ8zZpcnf29I48+YbNU6jcO8gDfYEa2k9cvVXwYQ9tGLk X-Received: by 2002:a17:902:4683:: with SMTP id p3mr37207919pld.31.1565742407932; Tue, 13 Aug 2019 17:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565742407; cv=none; d=google.com; s=arc-20160816; b=O0ob6JrO1A5fG5xrHjge7UFImA/DO2yryeepUHCy5HSHKnQFBIUa4rxsrpwIgQRO44 Y9rKpJu1uoK8sS90Yby7ldziMEmiT6jA8M25TqBzqycRUH3vuVw/8bqmC5BoDLe1rcmQ iZDahe7Dd+tjkLHssVSe4PCspcN758+afqlxdWKtYDHFey7HbeExHME9kPkC3vY1xmCK sDNFSqvwSL1Xd1EX9Nw5UbJGtDteFXxLSB8j9N1j5VaOIh455rvQc+z6jrU0E5TgA+2l upPAyAFceq2cmiXWcazNJORD3DNSetBFSxU8KMtybCThi3SbMn3PT3+cMgthZ3sUUcXw g10A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=jikbhWn71AXEKLp4lkK2oQ1OfucPwsjdNBfXYqceKxA=; b=dge/S8lvHYLVJHJiJoqvpP1g//gJgtk46CxMr3Cj64PixjobWfes1gbMltNDGZnLLb smCSZmd9jyu1/E7h+3oo4AbsB8D+ti3u7tqEp/uNE27UDTCRhTQkYxuL3SiF/36k8fxI t/VwhkNLjzRPW24dChQyMGXe9W0xBfO4Lj9o/5XYB9VUi734JBS4X3YofuAJur43hGsP fIowVtPxHfZ4MQ2DCIVTdNt06W2/vBMe/sPBbP1pxwjxpN8nH9qMk+zOYo/pstr61kYV oPugubV6Iw0xB26bwh2GHdWVex/BFWo1dSGQFXRnd5UbvsyR2n9jJsL5Z2hyYLDMOuOA NgfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=J33+kmou; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t185si55457819pgb.329.2019.08.13.17.26.32; Tue, 13 Aug 2019 17:26:47 -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; dkim=pass header.i=@kernel.org header.s=default header.b=J33+kmou; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726964AbfHNAZQ (ORCPT + 99 others); Tue, 13 Aug 2019 20:25:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:40604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbfHNAZP (ORCPT ); Tue, 13 Aug 2019 20:25:15 -0400 Received: from kernel.org (unknown [104.132.0.74]) (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 7E40520665; Wed, 14 Aug 2019 00:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565742314; bh=jikbhWn71AXEKLp4lkK2oQ1OfucPwsjdNBfXYqceKxA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=J33+kmouvguR55bvA7AHw/EGwE5zJ3XGWUmfiIc2I6eoEBSJ6jDn3Fo0k01b6jfA1 8wQ6EC+/gTPeUHclCb/DYHGS5aGiNU0mPcIFCQYOF1F+1TcdTrP6HFfR9zEt6rldQK 1xs3IIFcZiautYvoYuT24draBI21MUbKoMatAJy8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190731193517.237136-8-sboyd@kernel.org> References: <20190731193517.237136-1-sboyd@kernel.org> <20190731193517.237136-8-sboyd@kernel.org> Subject: Re: [PATCH 7/9] clk: sprd: Don't reference clk_init_data after registration From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Chunyan Zhang , Baolin Wang To: Michael Turquette , Stephen Boyd User-Agent: alot/0.8.1 Date: Tue, 13 Aug 2019 17:25:13 -0700 Message-Id: <20190814002514.7E40520665@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2019-07-31 12:35:15) > A future patch is going to change semantics of clk_register() so that > clk_hw::init is guaranteed to be NULL after a clk is registered. Avoid > referencing this member here so that we don't run into NULL pointer > exceptions. >=20 > Cc: Chunyan Zhang > Cc: Baolin Wang > Signed-off-by: Stephen Boyd > --- Applied to clk-next