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:
Olav Haugan 2012-04-19 10:20:22 -07:00 committed by Stephen Boyd
parent daee7d001a
commit e65d394b58

View file

@ -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);