diff options
| author | Marcos Andrade <marcosandrade95963@gmail.com> | 2026-03-16 19:19:23 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-18 16:52:59 +0100 |
| commit | 9b17baf171c16706594a30fcac9e9b5be3ac6671 (patch) | |
| tree | 531c28dd1e58d79f91e9e96857df125cb73ab2ca /tools/perf/scripts/python/stackcollapse.py | |
| parent | 97eef87a546e665f62c4c5500b2381a3c90c0ef1 (diff) | |
staging: rtl8723bs: Replace network magic numbers with EtherType macros
Replace hardcoded magic numbers for network protocols (e.g., 0x0806
for ARP, 0x888e for EAPOL) with their standard EtherType macro
equivalents (ETH_P_ARP, ETH_P_PAE) defined in <linux/if_ether.h>.
This change improves code readability and aligns the driver with
standard Linux networking definitions.
Signed-off-by: Marcos Andrade <marcosandrade95963@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260316221924.4904-2-marcosandrade95963@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
