aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorDell Jin <[email protected]>2023-10-20 06:20:53 +0000
committerDavid S. Miller <[email protected]>2023-10-21 10:54:42 +0000
commit965f9b8c0c1b37fa2a0e3ef56e40d5666d4cbb5c (patch)
treef08d59b4d0d39916ccfdd33a5f175dd9ddbd74ed /tools/net/ynl/generated/devlink-user.c
parentnet: stmmac: update MAC capabilities when tx queues are updated (diff)
downloadkernel-965f9b8c0c1b37fa2a0e3ef56e40d5666d4cbb5c.tar.gz
kernel-965f9b8c0c1b37fa2a0e3ef56e40d5666d4cbb5c.zip
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 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions