[PATCH] net: dwc_eth_qos: Fix compilation warning in eqos_free_pkt()
Tom Rini
trini at konsulko.com
Fri Apr 12 23:59:30 CEST 2024
On Fri, 05 Apr 2024 18:15:29 +0200, Patrice Chotard wrote:
> Fix compilation warning:
>
> ../arch/arm/include/asm/io.h: In function 'eqos_free_pkt':
> ../arch/arm/include/asm/io.h:103:32: warning: 'rx_desc' may be used uninitialized [-Wmaybe-uninitialized]
> 103 | #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; })
> | ^~~
> ../drivers/net/dwc_eth_qos.c:1220:27: note: 'rx_desc' was declared here
> 1220 | struct eqos_desc *rx_desc;
> | ^~~~~~~
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list