diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-06-08 15:08:42 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-06-11 10:55:14 +0200 |
| commit | 47f848aac4e79bdb197f849fa86e71fff1ad36ef (patch) | |
| tree | aa2ce14e471e9d7d586d306e7e1cad4466719489 /tools/perf/scripts/python | |
| parent | f2df54ddbfb04a006ee326a5d8270434a414e0af (diff) | |
net: txgbe: initialize PHY interface to 0
DECLARE_PHY_INTERFACE_MASK() does not guarantee zeroed contents. Add a
new macro DECLARE_PHY_INTERFACE_MASK_ZERO(), make the stack variable to
be zeroed before setting supported interfaces.
Fixes: 57d39faed4c9 ("net: txgbe: improve functions of AML 40G devices")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20260608070842.36504-4-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
