diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2024-04-05 18:15:29 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-12 13:59:12 -0600 |
commit | b4e9b524f785e21b6db45bd86eb580aebd02e1c2 (patch) | |
tree | 03f6f91a4b4aa47a0107794559c580644e0d5b6b /lib/crypt/crypt.c | |
parent | b566f7d2392929a78e08ac5b0fba868b1b5324ff (diff) |
net: dwc_eth_qos: Fix compilation warning in eqos_free_pkt()
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;
| ^~~~~~~
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'lib/crypt/crypt.c')
0 files changed, 0 insertions, 0 deletions