diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-12-04 13:56:53 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-09 10:27:35 +0100 |
commit | 1eaadd3cef9882cd6d6af2f329b9450ef209e8e7 (patch) | |
tree | ce200702b02621e33212ef5068166a04e0b36c6f /include/linux/marvell_phy.h | |
parent | 2c2fbeabf9c58cbf3162dcbc0aafd3093be558ee (diff) | |
download | barebox-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 'include/linux/marvell_phy.h')
0 files changed, 0 insertions, 0 deletions