Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751008AbeABWVu (ORCPT + 1 other); Tue, 2 Jan 2018 17:21:50 -0500 Received: from anholt.net ([50.246.234.109]:52088 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbeABWVt (ORCPT ); Tue, 2 Jan 2018 17:21:49 -0500 From: Eric Anholt To: Bryan O'Donoghue , mturquette@baylibre.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Bryan O'Donoghue , Stefan Wahren , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Boris Brezillon , Phil Elwell , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 09/34] clk: bcm2835: change clk_get_rate() helper return type In-Reply-To: <1514835793-1104-10-git-send-email-pure.logic@nexus-software.ie> References: <1514835793-1104-1-git-send-email-pure.logic@nexus-software.ie> <1514835793-1104-10-git-send-email-pure.logic@nexus-software.ie> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Tue, 02 Jan 2018 14:21:45 -0800 Message-ID: <87r2r7gava.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --=-=-= Content-Type: text/plain Bryan O'Donoghue writes: > bcm2835_pll_rate_from_divisor returns a long but the function calling it > returns an unsigned long. There's no reason to have a type disparity here > so tidy up the return type of bcm2835_pll_rate_from_divisor() from signed > to unsigned long. I'm still surprised that clocks are using longs instead of u64s, but this seems like a fine change. For the 2 bcm2835 patches, Reviewed-by: Eric Anholt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlpMBfoACgkQtdYpNtH8 nui3PA//RIW+nxhg3XpGb4HzXfIkPRirmURSlZPS9NAMefUhbA3bBeuIiRRbasgf hcX6K5sWDHE5UPNv0igdnY7fNrbx6hmG8qmj4VQFSh4vdKTo2ckWxqXI2aXxWzPo KEtzwC25AvdBo+WAplXQpVuGd0Yo21qQqg761rjgTuxfcZfl+vLbQO3ORjn2+ucA /6Q1M4DdGz4akTiJbRX/rAF3j3u7Ex9giEDwZFK4Sp8kM0LqvVPeY6EfXZ42TLZM 4ZAVTLiZqQtEceunp6u4wYMd7esreqLu+NIfLnEF6H1ySZpswKXQqPfHOwZv41dL qUtDXSVQ2M4zD7f48uivkQTHdleJS3GP/4isfzRXiW2MGkqfnFeTee7tkKIcQNk1 l6Q5JkCa6udXnSUClBlmrq1YRqUYeTErtLkA6F4vv9eq66BNtORUB6puQQ1zvija 7gOsWKanYS6RZVtFQKTb5hIhy5FoYXMAEfjxUxjqlQX/1rW/aaSxipNm6RC1X6xo CmScNIQQDZULKniz+BlabDBnb6Jup4i1QJPsgouETp0j48lhx/EWm0xhPCWZ88y7 UCNTENRel6xvzo9ORpLM3oTMWHDuAl7QTbuy0MfCvcRPCmy79NJ0hLbYkOoizNYV MjpJ8f97DUNHl4D+xPHK5miO0mYUJx/8AH7G2sbMYOjb8tQzvR0= =lz0Q -----END PGP SIGNATURE----- --=-=-=--