Re: [PATCH] platform/chrome: cros_typec_vdm: Fix VDO copy

From: patchwork-bot+chrome-platform
Date: Thu Jan 26 2023 - 14:50:26 EST


Hello:

This patch was applied to chrome-platform/linux.git (for-next)
by Prashant Malani <pmalani@xxxxxxxxxxxx>:

On Fri, 13 Jan 2023 18:26:26 +0000 you wrote:
> The usage of memcpy() affects the representation of the VDOs as they are
> copied to the EC Host Command buffer. Specifically, all higher order
> bits get dropped (for example: a VDO of 0x406 just gets copied as 0x6).
>
> Avoid this by explicitly copying each VDO in the array. The number of
> VDOs generated by alternate mode drivers in their VDMs is almost always
> just 1 (apart from the header) so this doesn't affect performance in a
> meaningful way).
>
> [...]

Here is the summary with links:
- platform/chrome: cros_typec_vdm: Fix VDO copy
https://git.kernel.org/chrome-platform/c/478f32ab4daa

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html