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: gsp: add command_size helper Date: Thu, 19 Feb 2026 18:43:08 +1000 Message-ID: In-Reply-To: <20260219-cmdq-continuation-v2-7-2e8b7615536f@nvidia.com> References: <20260219-cmdq-continuation-v2-0-2e8b7615536f@nvidia.com> <20260219-cmdq-continuation-v2-7-2e8b7615536f@nvidia.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review > +fn command_size(command: &M) -> usize > +where > + M: CommandToGsp, > +{ > + size_of::() + command.variable_payload_len() > +} Simple extraction of a repeated pattern into a helper. Initially private, made `pub(crate)` in patch 8. No issues. --- Generated by Claude Code Patch Reviewer