diff options
author | Jiawen Wu <jiawenwu@trustnetic.com> | 2025-02-21 09:57:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-25 05:13:00 +0300 |
commit | a3ad653c915990fcbb72f9d41c94628255278abc (patch) | |
tree | 4fa496e43f44686005fb9cafdf1db3520012ce2a /arch/powerpc/lib/code-patching.c | |
parent | 2e5af6b2ae85328051f2ecb1b7fe64cdd835c8e9 (diff) | |
download | linux-a3ad653c915990fcbb72f9d41c94628255278abc.tar.xz |
net: wangxun: Replace the judgement of MAC type with flags
Since device MAC types are constantly being added, the judgments of
wx->mac.type are complex. Try to convert the types to flags depending
on functions.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20250221065718.197544-2-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions