From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754193AbcIISHX (ORCPT ); Fri, 9 Sep 2016 14:07:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59513 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751499AbcIISHU (ORCPT ); Fri, 9 Sep 2016 14:07:20 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org F337761E55 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 9 Sep 2016 11:07:18 -0700 From: Stephen Boyd To: Tomeu Vizoso Cc: linux-kernel@vger.kernel.org, Michael Turquette , linux-clk@vger.kernel.org Subject: Re: [PATCH] clk: rk808: Pass the right pointer as the get_hw context Message-ID: <20160909180718.GC7243@codeaurora.org> References: <1473427506-28244-1-git-send-email-tomeu.vizoso@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1473427506-28244-1-git-send-email-tomeu.vizoso@collabora.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/09, Tomeu Vizoso wrote: > Right now we are passing a pointer to a pointer to the structure that > will be used to fetch the clk hw, which gets casted later to a pointer > to the structure, thus getting garbage in the hw structs. > > Signed-off-by: Tomeu Vizoso > Fixes: a8b6e85db6a6 ("clk: rk808: Migrate to clk_hw based OF and > registration APIs") > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project