Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759393AbcJQWVL (ORCPT ); Mon, 17 Oct 2016 18:21:11 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53678 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758711AbcJQWU7 (ORCPT ); Mon, 17 Oct 2016 18:20:59 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 66FF1616B7 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: Mon, 17 Oct 2016 15:20:57 -0700 From: Stephen Boyd To: Masahiro Yamada Cc: linux-clk@vger.kernel.org, Michael Turquette , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] clk: uniphier: fix type of variable passed to regmap_read() Message-ID: <20161017222057.GD8871@codeaurora.org> References: <1476631555-2059-1-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1476631555-2059-1-git-send-email-yamada.masahiro@socionext.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 Content-Length: 474 Lines: 14 On 10/17, Masahiro Yamada wrote: > The 3rd argument of regmap_read() takes a pointer to unsigned int. > This driver is saved just because u32 happens to be typedef'ed as > unsigned int, but we should not rely on that fact. Change the > variable type just in case. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project