diff options
author | 2023-12-29 16:52:32 +0200 | |
---|---|---|
committer | 2024-01-03 16:40:59 -0800 | |
commit | 73b2e2e3fe26f97010444e29536b3e815bbc57da (patch) | |
tree | 6fd11548e801a37f6e1387157734d7cca24d36ef /net/core/sock.c | |
parent | net/sched: cls_api: complement tcf_tfilter_dump_policy (diff) | |
download | wireguard-linux-73b2e2e3fe26f97010444e29536b3e815bbc57da.tar.xz wireguard-linux-73b2e2e3fe26f97010444e29536b3e815bbc57da.zip |
net: mdio: mux-bcm-iproc: Use alignment helpers and SZ_4K
Instead of open coding, use IS_ALIGNED() and ALIGN_DOWN() when dealing
with alignment. Replace also literals with SZ_4K.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
Link: https://lore.kernel.org/r/20231229145232.6163-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions