msm: npu: Avoid OOB while accessing registers and memory
This change is to add boundary check while accessing registers
and memory to avoid accessing invalid IO regions.
Change-Id: Ibe4f45cbff813ab2107e0f4d2c8137bf3bd0d9ce
Signed-off-by:
Jilai Wang <jilaiw@codeaurora.org>
Loading
Please register or sign in to comment