diff options
author | Huibin Hong <huibin.hong@rock-chips.com> | 2018-10-10 11:00:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:51 +0100 |
commit | 736d201a590941a95aefb037238f867ca7edbb20 (patch) | |
tree | 6c44bec64936b239750f6edee5b19e7cf70666ad /net/unix/af_unix.c | |
parent | 344823879808142fe0fc9900f6e7ee77da7841e5 (diff) |
spi: rockchip: initialize dma_slave_config properly
[ Upstream commit dd8fd2cbc73f8650f651da71fc61a6e4f30c1566 ]
The rxconf and txconf structs are allocated on the
stack, so make sure we zero them before filling out
the relevant fields.
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions