mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
MIPS: pmcs-msp71xx: Add missing MAX_PROM_MEM definition
Commitb3c948e2c0("MIPS: msp: Record prom memory") introduced use of a MAX_PROM_MEM value but didn't define it. A bounds check in prom_meminit() suggests its value was supposed to be 5, so define it as such & adjust the bounds check to use the macro rather than a magic number. Signed-off-by: Paul Burton <paul.burton@mips.com> Fixes:b3c948e2c0("MIPS: msp: Record prom memory") Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-mips@vger.kernel.org
This commit is contained in:
parent
25b69a889b
commit
101c40ed26
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue