Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490475

Re: [PATCH] clk: change the type of clk_hw_onecell_data.num to unsigned int

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: change the type of clk_hw_onecell_data.num to unsigned int
Date 2016-09-23 23:50 +0200
Message-ID <skGw1-Ig-11@gated-at.bofh.it> (permalink)
References <skxM5-3BX-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <yamada.masahiro@socionext.com>
> ---

Seems fair.

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] clk: change the type of clk_hw_onecell_data.num to unsigned int Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-23 14:30 +0200
  Re: [PATCH] clk: change the type of clk_hw_onecell_data.num to  unsigned int Stephen Boyd <sboyd@codeaurora.org> - 2016-09-23 23:50 +0200

csiph-web