14 Jun
2022
14 Jun
'22
1:27 p.m.
Hi Sascha,
On Tue, Jun 14, 2022 at 7:15 AM Sascha Hauer s.hauer@pengutronix.de wrote:
The driver uses two statically ininitialized struct dma_slave_config, but only one of them is initialized to zero. Initialize config_be to zero as well to make sure that no fields are filled with random values. Let the compiler do this instead of explicitly calling memset() which makes it easier to read.
Signed-off-by: Sascha Hauer s.hauer@pengutronix.de
Reviewed-by: Fabio Estevam festevam@gmail.com