diff options
author | 2019-10-03 22:46:23 +0000 | |
---|---|---|
committer | 2019-10-03 15:47:14 -0700 | |
commit | 101c40ed269ccf67d3535bf2d131584008edbbd1 (patch) | |
tree | 7d3a8da0534448f5a182e07b299e4ad183c0def7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mips: Loongson: Fix the link time qualifier of 'serial_exit()' (diff) | |
download | wireguard-linux-101c40ed269ccf67d3535bf2d131584008edbbd1.tar.xz wireguard-linux-101c40ed269ccf67d3535bf2d131584008edbbd1.zip |
MIPS: pmcs-msp71xx: Add missing MAX_PROM_MEM definition
Commit b3c948e2c00f ("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: b3c948e2c00f ("MIPS: msp: Record prom memory")
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions