On Mon, Mar 3, 2025 at 10:33 AM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote: > > Clippy warns: > > error: manual implementation of an assign operation > --> drivers/gpu/drm/drm_panic_qr.rs:418:25 > | > 418 | self.carry = self.carry % pow; > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `self.carry %= pow` > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern > > Thus clean it up. > > Fixes: dbed4a797e00 ("drm/panic: Better binary encoding in QR code") > Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>