diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2020-05-07 13:33:14 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-05-11 11:29:48 +0100 |
commit | 328263687148bebf0d5daf5d06bcc2a46f3d7b0a (patch) | |
tree | f63e84b8a07250c0a308d48a8ca3c08fb98b7a48 /net/tipc/core.c | |
parent | 78a0d7f2f5a31357bce68012d886507b4cf33598 (diff) | |
download | linux-328263687148bebf0d5daf5d06bcc2a46f3d7b0a.tar.bz2 |
PCI: rcar: Fix calculating mask for PCIEPAMR register
The mask value was calculated incorrectly for PCIEPAMR register if the
size was less than 128 bytes. Fix this issue by adding a check on size.
Link: https://lore.kernel.org/r/1588854799-13710-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Diffstat (limited to 'net/tipc/core.c')
0 files changed, 0 insertions, 0 deletions