summaryrefslogtreecommitdiffstats
path: root/common/blspec.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-12-04 13:56:53 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-09 10:27:35 +0100
commit1eaadd3cef9882cd6d6af2f329b9450ef209e8e7 (patch)
treece200702b02621e33212ef5068166a04e0b36c6f /common/blspec.c
parent2c2fbeabf9c58cbf3162dcbc0aafd3093be558ee (diff)
downloadbarebox-1eaadd3cef9882cd6d6af2f329b9450ef209e8e7.tar.gz
barebox-1eaadd3cef9882cd6d6af2f329b9450ef209e8e7.tar.xz
efi: fix off-by-one in mem_malloc_init(..., end)
The second (end) parameter of mem_malloc_init() denotes the last address in the malloc region, so we need to subtract one from the current value to arrive at the correct end. So far this went not noticed, because iomem doesn't yet display barebox malloc memory region. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/blspec.c')
0 files changed, 0 insertions, 0 deletions