From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760707AbcIWVoY (ORCPT ); Fri, 23 Sep 2016 17:44:24 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:32797 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752839AbcIWVoW (ORCPT ); Fri, 23 Sep 2016 17:44:22 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 5BF506027F 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, 23 Sep 2016 14:44:20 -0700 From: Stephen Boyd To: Masahiro Yamada Cc: linux-clk@vger.kernel.org, Michael Turquette , linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: change the type of clk_hw_onecell_data.num to unsigned int Message-ID: <20160923214420.GC21232@codeaurora.org> References: <1474633776-11586-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: <1474633776-11586-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 On 09/23, Masahiro Yamada wrote: > The "num" is the number of clk_hw entries in the structure, so > "unsigned int" would be a better fit. (size_t looks like data > size we count by byte.) > > Besides, struct clk_onecell_data already uses unsigned int for > "clk_num". > > Signed-off-by: Masahiro Yamada > --- Seems fair. Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project