mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
msm: ipa: Issue with Pointer type conversion.
Updated the pointer type cast with valid data type. Change-Id: Ibd1f87eab0aac78551f307534508cfa84eae988a Signed-off-by: Raghavendar rao l <rlomte@codeaurora.org>
This commit is contained in:
parent
04a5cec7b7
commit
92fa5bc4f6
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ static struct ipahal_stats_init_pyld *ipahal_generate_init_pyld_flt_rt_v4_5(
|
|||
void *params, bool is_atomic_ctx)
|
||||
{
|
||||
struct ipahal_stats_init_pyld *pyld;
|
||||
int num = (int)(params);
|
||||
int num = *((int *)(params));
|
||||
|
||||
if (num > IPA_MAX_FLT_RT_CNT_INDEX ||
|
||||
num <= 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue