RE: [PATCH 11/11] hw/net/cadence_gem: enforce 32 bits variable size for CRC

2023-10-18 Thread Boddu, Sai Pavan
rancisco ; Konrad, Frederic >; Boddu, Sai Pavan > >Subject: [PATCH 11/11] hw/net/cadence_gem: enforce 32 bits variable size for >CRC > >The CRC was stored in an unsigned variable in gem_receive. Change it for a >uint32_t to ensure we have the correct variable size here. > >

Re: [PATCH 11/11] hw/net/cadence_gem: enforce 32 bits variable size for CRC

2023-10-18 Thread Philippe Mathieu-Daudé
On 17/10/23 21:44, Luc Michel wrote: The CRC was stored in an unsigned variable in gem_receive. Change it for a uint32_t to ensure we have the correct variable size here. Fixes: e9f186e514 ("cadence_gem: initial version of device model") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Lu

[PATCH 11/11] hw/net/cadence_gem: enforce 32 bits variable size for CRC

2023-10-17 Thread Luc Michel
The CRC was stored in an unsigned variable in gem_receive. Change it for a uint32_t to ensure we have the correct variable size here. Signed-off-by: Luc Michel --- hw/net/cadence_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c