diff options
| author | Dan Carpenter <[email protected]> | 2023-01-20 13:47:12 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-01-24 05:34:59 +0000 |
| commit | 3bee9b573af515a8f15db70e7875ac96f87d57b5 (patch) | |
| tree | 587d139f9a45b4a433d212e966c6655f29b50684 /drivers/net/dsa/microchip/lan937x_main.c | |
| parent | net: mdio: warn once if addr parameter is invalid in mdiobus_get_phy() (diff) | |
| download | kernel-3bee9b573af515a8f15db70e7875ac96f87d57b5.tar.gz kernel-3bee9b573af515a8f15db70e7875ac96f87d57b5.zip | |
net: microchip: sparx5: Fix uninitialized variable in vcap_path_exist()
The "eport" variable needs to be initialized to NULL for this code to
work.
Fixes: 814e7693207f ("net: microchip: vcap api: Add a storage state to a VCAP rule")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Steen Hegelund <[email protected]>
Link: https://lore.kernel.org/r/Y8qbYAb+YSXo1DgR@kili
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/lan937x_main.c')
0 files changed, 0 insertions, 0 deletions
