diff options
| author | Shunyong Yang <[email protected]> | 2021-07-14 13:23:31 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2021-08-05 10:01:30 +0000 |
| commit | 224d8031e482bb83e2166779f46c7bb1a5f4a888 (patch) | |
| tree | 58fda6139a899e06b346124c60c92c387ed96214 /lib/test_printf.c | |
| parent | Linux 5.14-rc1 (diff) | |
| download | kernel-224d8031e482bb83e2166779f46c7bb1a5f4a888.tar.gz kernel-224d8031e482bb83e2166779f46c7bb1a5f4a888.zip | |
tools: PCI: Zero-initialize param
The values in param may be random if they are not initialized, which
may cause use_dma flag set even when "-d" option is not provided
in command line. Initializing all members to 0 to solve this.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Shunyong Yang <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions
