msm: ipa3: fix pointer arithmetic to avoid out-of-bound
When offset gets added to base of the array, it returns
offset plus the number equal to size of the whole array.
So, correct it by passing the address of offset element
in the array.
Change-Id: I8a087ca277bdc476674c7221b5fc0920e6986570
Signed-off-by:
Jagadeesh Ponduru <quic_jponduru@quicinc.com>
Loading
Please register or sign in to comment