diff options
| author | Colin Foster <colin.foster@in-advantage.com> | 2021-12-07 09:00:28 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-07 21:44:49 -0800 |
| commit | 49af6a7620c53b779572abfbfd7778e113154330 (patch) | |
| tree | 3cd935a8f9905f4975bb652b0cd8db4f6306b558 /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | net: dsa: ocelot: remove unnecessary pci_bar variables (diff) | |
| download | linux-49af6a7620c53b779572abfbfd7778e113154330.tar.gz linux-49af6a7620c53b779572abfbfd7778e113154330.zip | |
net: dsa: ocelot: felix: Remove requirement for PCS in felix devices
Existing felix devices all have an initialized pcs array. Future devices
might not, so running a NULL check on the array before dereferencing it
will allow those future drivers to not crash at this point
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
