summaryrefslogtreecommitdiff
path: root/net/batman-adv/netlink.h
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2023-03-07 23:22:51 +0300
committerConor Dooley <conor.dooley@microchip.com>2023-04-03 21:25:31 +0300
commit75dfbcbfd781f826c73ebe42b78d49c23179d082 (patch)
tree2e1892adf9901d9dec28533217b4bffcf34a130c /net/batman-adv/netlink.h
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-75dfbcbfd781f826c73ebe42b78d49c23179d082.tar.xz
mailbox: mpfs: fix an incorrect mask width
The system controller registers on PolarFire SoC are 32 bits wide, so 16 + 16 as the first input to GENMASK_ULL() gives a 33 bit wide mask. It probably should have been immediately obvious when it was pointed out during review that the width required using GENMASK_ULL() - but I scarcely knew what I was doing at the time and missed it. The mistake ends up being moot as it is a mask after all, but it is incorrect and should be fixed. No functional change intended. Acked-by: Jassi Brar <jaswinder.singh@linaro.org> Tested-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'net/batman-adv/netlink.h')
0 files changed, 0 insertions, 0 deletions