diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2023-03-07 23:22:51 +0300 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2023-04-03 21:25:31 +0300 |
commit | 75dfbcbfd781f826c73ebe42b78d49c23179d082 (patch) | |
tree | 2e1892adf9901d9dec28533217b4bffcf34a130c /net/batman-adv/netlink.h | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | linux-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