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: Tue, 03 Mar 2026 13:34:48 +1000 Message-ID: In-Reply-To: <20260302-cmdq-continuation-v4-7-c011f15aad58@nvidia.com> References: <20260302-cmdq-continuation-v4-0-c011f15aad58@nvidia.com> <20260302-cmdq-continuation-v4-7-c011f15aad58@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 Extracts the command size calculation into a standalone function: ```rust pub(crate) fn command_size(command: &M) -> usize where M: CommandToGsp, { size_of::() + command.variable_payload_len() } ``` Clean extraction. Made `pub(crate)` for reuse in the continuation module. --- Generated by Claude Code Patch Reviewer