summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/coupled.c
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-09-10 22:40:30 +0100
committerDavid S. Miller <davem@davemloft.net>2023-09-11 10:37:50 +0100
commite10a35abb3da12b812cfb6fc6137926a0c81e39a (patch)
tree27befbafdbdc6c287ad31566819f93de7981bb50 /drivers/cpuidle/coupled.c
parentc821a88bd720b0046433173185fd841a100d44ad (diff)
net: ethernet: mtk_eth_soc: fix uninitialized variable
Variable dma_addr in function mtk_poll_rx can be uninitialized on some of the error paths. In practise this doesn't matter, even random data present in uninitialized stack memory can safely be used in the way it happens in the error path. However, in order to make Smatch happy make sure the variable is always initialized. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpuidle/coupled.c')
0 files changed, 0 insertions, 0 deletions