Change-Id: I14fd3b560b9932f6a2b545d16c257993dd7d801b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/397506
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
*ctx++ = clk_get_rate_all_locked(&tegra_clk_emc);
- pr_debug("%s: suspend entries: %d, suspend array: %d\n", __func__,
- (ctx - clk_rst_suspend), ARRAY_SIZE(clk_rst_suspend));
+ pr_debug("%s: suspend entries: %d, suspend array: %u\n", __func__,
+ (s32)(ctx - clk_rst_suspend), (u32)ARRAY_SIZE(clk_rst_suspend));
BUG_ON((ctx - clk_rst_suspend) > ARRAY_SIZE(clk_rst_suspend));
return 0;
}