mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
When memory region are continuous, it may get wrong memory region. If pa is equal to the end address of the memory and size equal zero. It will get wrong memory region. So need to add check pa is smaller then end address. Signed-off-by: Joshua Lin <jlin@petaio.com>