[PATCH] drm/panic: Add a u64 divide by 10 for arm32

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Fri Jun 27 11:41:22 UTC 2025


On Fri, Jun 27, 2025 at 1:37 PM Alice Ryhl <aliceryhl at google.com> wrote:
>
> I would get rid of this conditional and declare another div10 function
> that just does input/10 on other arches.

Yeah, please keep `cfg`s as local as possible, i.e. inside the
implementation of the function where possible, so that we share even
the signature etc., e.g.

    https://lore.kernel.org/rust-for-linux/20250625051518.15255-6-boqun.feng@gmail.com/

Cheers,
Miguel


More information about the dri-devel mailing list