diff options
| author | Maxime Chevallier <[email protected]> | 2024-11-12 18:06:49 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-13 18:52:12 -0800 |
| commit | 80dc1ff787a9f9d124445574bc40f45849ba7f41 (patch) | |
| tree | be2850b629f6d46f1c81a147924563f6ecb6da79 /tools/perf/scripts/python | |
| parent | 3bf8163a36adb550536c0de8ae00685f050edf53 (diff) | |
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 <[email protected]>
Signed-off-by: Maxime Chevallier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions