diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-10-16 17:41:44 +0300 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2024-10-18 02:01:36 +0300 |
commit | ff1d3484d6d29dda92421b9a753e4ca54f91aa8a (patch) | |
tree | cdc3584e29af13cb4e253c894a320835ac422f67 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f87a17ed3b51fba4dfdd8f8b643b5423a85fc551 (diff) | |
download | linux-ff1d3484d6d29dda92421b9a753e4ca54f91aa8a.tar.xz |
net: ethernet: ti: am65-cpsw: Fix uninitialized variable
The *ndev pointer needs to be set or it leads to an uninitialized variable
bug in the caller.
Fixes: 4a7b2ba94a59 ("net: ethernet: ti: am65-cpsw: Use tstats instead of open coded version")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Message-ID: <b168d5c7-704b-4452-84f9-1c1762b1f4ce@stanley.mountain>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions