diff options
| author | Maxime Chevallier <[email protected]> | 2023-06-07 13:59:37 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-07 20:30:11 +0000 |
| commit | 2d830f7a41343302ab19e73d4f44f5ccb6940a25 (patch) | |
| tree | c82b68d6772aa03bf882c1c514ceb953ecf531a7 /drivers/usb/cdns3/cdns3-gadget.c | |
| parent | Merge branch 'tools-ynl-generate-code-for-the-handshake-family' (diff) | |
| download | kernel-2d830f7a41343302ab19e73d4f44f5ccb6940a25.tar.gz kernel-2d830f7a41343302ab19e73d4f44f5ccb6940a25.zip | |
net: altera-tse: Initialize local structs before using it
The regmap_config and mdio_regmap_config objects needs to be zeroed before
using them. This will cause spurious errors at probe time as config->pad_bits
is containing random uninitialized data.
Fixes: db48abbaa18e ("net: ethernet: altera-tse: Convert to mdio-regmap and use PCS Lynx")
Signed-off-by: Maxime Chevallier <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions
