lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163837153033.1905338.11827661967999278324.b4-ty@linaro.org>
Date:   Wed,  1 Dec 2021 09:12:54 -0600
From:   Bjorn Andersson <bjorn.andersson@...aro.org>
To:     cgel.zte@...il.com, nks@...wful.org
Cc:     linux-arm-msm@...r.kernel.org,
        Changcheng Deng <deng.changcheng@....com.cn>,
        agross@...nel.org, Zeal Robot <zealci@....com.cn>,
        linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: (subset) [PATCH] PM: AVS: Use div64_ul instead of do_div

On Thu, 25 Nov 2021 01:43:11 +0000, cgel.zte@...il.com wrote:
> From: Changcheng Deng <deng.changcheng@....com.cn>
> 
> do_div() does a 64-by-32 division. Here the divisor is an unsigned long
> which on some platforms is 64 bit wide. So use div64_ul instead of do_div
> to avoid a possible truncation.
> 
> 
> [...]

Applied, thanks!

[1/1] PM: AVS: Use div64_ul instead of do_div
      commit: e07a98b28decb21f7bdbcb05bf2acc58ea03b1e4

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@...aro.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ