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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B90BBC3A59E for ; Fri, 16 Aug 2019 17:20:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 901F620665 for ; Fri, 16 Aug 2019 17:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565976038; bh=hIAC5lLyihDTrea7Uw6TZr9ZHMpGTLEFI82MPGonGqo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:List-ID:From; b=2jrEHW7KB0+rx4ilv14jZ9iMr1exbBajXgriYfdOtZXlCds9bWGPMQZ2GC/ATIeJ5 2i9lCc1/LGMtO/1CII3MrOxdJP2XNWDokGa6+wvId3/HO/rRMNpQgv8/BeFCtGDu2P IggrfJnf5Ts+hTCQyE6owF9vr/Ld0+PFs2mR1FBE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727491AbfHPRUi (ORCPT ); Fri, 16 Aug 2019 13:20:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbfHPRUi (ORCPT ); Fri, 16 Aug 2019 13:20:38 -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 EA2EE20665; Fri, 16 Aug 2019 17:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565976037; bh=hIAC5lLyihDTrea7Uw6TZr9ZHMpGTLEFI82MPGonGqo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=zpOLV3nO+hna/F2Zd/jTPHXoO2o0HJE97CNPfM3yzjUNUTYryXNHx1S4bdYtTa1ef Y2RDvL4WEV/rZJ2QUsA06d6RaUpYi6IdiW053P4ROXFNmPwpoQPPPxOREooWxd1h2g 55SxLnjPrgGwN3aamLGi8qCSZ5lEIdnjf+rf2vlM= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190815160020.183334-3-sboyd@kernel.org> References: <20190815160020.183334-1-sboyd@kernel.org> <20190815160020.183334-3-sboyd@kernel.org> Subject: Re: [PATCH 2/4] clk: zx296718: Don't reference clk_init_data after registration From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Jun Nie , Shawn Guo To: Michael Turquette , Stephen Boyd User-Agent: alot/0.8.1 Date: Fri, 16 Aug 2019 10:20:36 -0700 Message-Id: <20190816172036.EA2EE20665@mail.kernel.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Stephen Boyd (2019-08-15 09:00:18) > 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: Jun Nie > Cc: Shawn Guo > Signed-off-by: Stephen Boyd > --- Applied to clk-next