diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-11-12 20:06:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-14 05:52:12 +0300 |
commit | 80dc1ff787a9f9d124445574bc40f45849ba7f41 (patch) | |
tree | be2850b629f6d46f1c81a147924563f6ecb6da79 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3bf8163a36adb550536c0de8ae00685f050edf53 (diff) | |
download | linux-80dc1ff787a9f9d124445574bc40f45849ba7f41.tar.xz |
net: stmmac: Don't modify the global ptp ops directly
The stmmac_ptp_clock_ops are copied into the stmmac_priv structure
before being registered to the PTP core. Some adjustments are made prior
to that, such as the number of snapshots or max adjustment parameters.
Instead of modifying the global definition, then copying into the local
private data, let's first copy then modify the local parameters.
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20241112170658.2388529-2-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions