From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: gpu: nova-core: create falcon firmware DMA objects lazily Date: Mon, 09 Mar 2026 09:15:13 +1000 Message-ID: In-Reply-To: <20260306-turing_prep-v11-1-8f0042c5d026@nvidia.com> References: <20260306-turing_prep-v11-0-8f0042c5d026@nvidia.com> <20260306-turing_prep-v11-1-8f0042c5d026@nvidia.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review Good refactoring. The switch from `DmaObject` to `KVVec` eliminates unsafe = pointer manipulation in `patch_signature` and the transmute helpers in fwse= c.rs. The new `patch_signature` is safer with proper bounds checking: ```rust let signature_end =3D signature_start .checked_add(signature_bytes.len()) .ok_or(EOVERFLOW)?; let dst =3D self .0 .get_mut(signature_start..signature_end) .ok_or(EINVAL)?; ``` Minor: The `dev` parameter added to `dma_load` and `load` is now passed thr= ough the call chain. This is fine =E2=80=94 DMA object creation genuinely n= eeds the device. No issues. --- Generated by Claude Code Patch Reviewer