summaryrefslogtreecommitdiff
path: root/scripts/stackdelta
diff options
context:
space:
mode:
authorMieczyslaw Nalewaj <namiltd@yahoo.com>2026-04-19 22:37:07 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-04-23 11:50:33 +0300
commit0c078021d3861966614d5e594ee03587f0c9e74d (patch)
treef860424d1af9f3213b0df0b526a3d820d494ea31 /scripts/stackdelta
parent084a39af974b137ff7cc4223285e2c144afc1ddc (diff)
downloadlinux-0c078021d3861966614d5e594ee03587f0c9e74d.tar.xz
net: dsa: realtek: rtl8365mb: fix mode mask calculation
The RTL8365MB_DIGITAL_INTERFACE_SELECT_MODE_MASK macro was shifting the 4-bit mask (0xF) by only (_extint % 2) bits instead of (_extint % 2) * 4. This caused the mask to overlap with the adjacent nibble when configuring odd-numbered external interfaces, selecting the wrong bits entirely. Align the shift calculation with the existing ...MODE_OFFSET macro. Fixes: 4af2950c50c8 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC") Signed-off-by: Abdulkader Alrezej <alrazj.abdulkader@gmail.com> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Reviewed-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Link: https://patch.msgid.link/400a6387-a444-4576-af6d-26be5410bce3@yahoo.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions