commit | b668b4ef09b7481d3c5e3e6c3d2b5f6d357419de | [log] [tgz] |
---|---|---|
author | Deepak Kumar <dkumar@codeaurora.org> | Wed Jan 25 18:53:55 2017 +0530 |
committer | Deepak Kumar <dkumar@codeaurora.org> | Thu Jul 06 13:14:50 2017 +0530 |
tree | e19a275e6507b0628906848bf22e23dd1b80c2c9 | |
parent | 98055d18273537a4acf0737b7933adafa17f8bef [diff] |
adreno_tz: Correct tz_buf pointer type to correct pointer arithmetic Current tz_buf pointer type is causing the end address calcultion of tz_buf to go wrong. "end_addr = tz_buf + PAGE_ALIGN(size)" is resulting in an end address way beyond the allocated range because tz_buf is of type unsigned int. This change changes the tz_buf pointer type to u8 to fix this issue. Change-Id: I16db09c565801b56c0c0ee8a8184f6e276512fa3 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>