mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
gpu: ion: Add missing argument to WARN call
The condition argument to the WARN call in ion_free is missing. Add the argument to allow correct printing of warning message. Change-Id: I158e1a583b7242b2c3209d6ce64dc0b771efeffe Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
parent
daee7d001a
commit
e65d394b58
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ void ion_free(struct ion_client *client, struct ion_handle *handle)
|
|||
valid_handle = ion_handle_validate(client, handle);
|
||||
if (!valid_handle) {
|
||||
mutex_unlock(&client->lock);
|
||||
WARN("%s: invalid handle passed to free.\n", __func__);
|
||||
WARN(1, "%s: invalid handle passed to free.\n", __func__);
|
||||
return;
|
||||
}
|
||||
mutex_unlock(&client->lock);
|
||||
|
|
Loading…
Reference in a new issue