dsp: lsm: don't print physical address of invalid lsm client pointer
Function q6lsm_get_session_id_from_lsm_client will print out the physical address of a lsm client pointer in error message when it fails to find the matching lsm client. This is not needed because the address information is redundant and might cause potential issue when a lsm client is already invalid. Change-Id: If8c38b566c839c4b45d98e79802d0fd6efb5bdb9 Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
This commit is contained in:
@@ -104,8 +104,7 @@ static int q6lsm_get_session_id_from_lsm_client(struct lsm_client *client)
|
||||
if (lsm_session[n] == client)
|
||||
return n;
|
||||
}
|
||||
pr_err("%s: cannot find matching lsm client. client = %pa\n",
|
||||
__func__, client);
|
||||
pr_err("%s: cannot find matching lsm client.\n", __func__);
|
||||
return LSM_INVALID_SESSION_ID;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user