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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kiTwpcH6S0XaTEBnLxqyJ6EDVLoZPi9X+MWkanK5wq=w@mail.gmail.com>
Date: Thu, 1 May 2025 11:24:24 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: FUJITA Tomonori <fujita.tomonori@...il.com>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org, 
	a.hindborg@...sung.com, boqun.feng@...il.com, frederic@...nel.org, 
	lyude@...hat.com, tglx@...utronix.de, anna-maria@...utronix.de, 
	jstultz@...gle.com, sboyd@...nel.org, ojeda@...nel.org, alex.gaynor@...il.com, 
	gary@...yguo.net, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me, 
	aliceryhl@...gle.com, tmgross@...ch.edu, chrisi.schrefl@...il.com, 
	arnd@...db.de, linux@...linux.org.uk
Subject: Re: [PATCH v1] rust: time: Avoid 64-bit integer division

On Thu, May 1, 2025 at 4:45 AM FUJITA Tomonori
<fujita.tomonori@...il.com> wrote:
>
> Oops, they should call ktime_to_us() and ktime_to_ms() respectively.
>
> I'll send v2 later.

What about adding a couple examples to their docs so that they are
also tested and this would be caught?

(In another patch, possibly in another series or not. We could also
open a good first issue)

Thanks!

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ