On Wed, Jan 13, 2021 at 01:45:22PM +0100, Gilles DOFFE wrote:
> '(u64)*value' casts a u32 to a u64. So depending on endianness,
> LSB or MSB is lost.
> The pointer needs to be cast to read the full u64:
> '*((u64 *)value)'
> 
> Signed-off-by: Gilles DOFFE <[email protected]>
> ---

Reviewed-by: Vladimir Oltean <[email protected]>

Reply via email to