diff options
author | Dell Jin <[email protected]> | 2023-10-20 09:20:53 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-21 11:54:42 +0100 |
commit | 965f9b8c0c1b37fa2a0e3ef56e40d5666d4cbb5c (patch) | |
tree | f08d59b4d0d39916ccfdd33a5f175dd9ddbd74ed /net/ipv4/tcp_input.c | |
parent | 95201f36f395df34321fcddbce12103e8bbe4970 (diff) |
net: ethernet: adi: adin1110: Fix uninitialized variable
The spi_transfer struct has to have all it's fields initialized to 0 in
this case, since not all of them are set before starting the transfer.
Otherwise, spi_sync_transfer() will sometimes return an error.
Fixes: a526a3cc9c8d ("net: ethernet: adi: adin1110: Fix SPI transfers")
Signed-off-by: Dell Jin <[email protected]>
Signed-off-by: Ciprian Regus <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions