Re: [PATCH 00/13] drm/tyr: reduce the number of `as` casts

From: Alice Ryhl

Date: Thu Nov 26 2026 - 05:03:06 EST


On Wed, 25 Nov 2026 19:46:51 -0300, Daniel Almeida wrote:
> An `as` cast silently drops the bits that do not fit the target type,
> and nothing at the cast shows whether that can happen. Tyr has 86 of
> them, as counted by `clippy::as_conversions`. This series removes 62.

Looks great overall. For the whole series:

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Alice