|
@@ -545,7 +545,8 @@ struct ion_handle *ion_alloc(struct ion_client *client, size_t len,
|
|
|
}
|
|
|
EXPORT_SYMBOL(ion_alloc);
|
|
|
|
|
|
-static void ion_free_nolock(struct ion_client *client, struct ion_handle *handle)
|
|
|
+static void ion_free_nolock(struct ion_client *client,
|
|
|
+ struct ion_handle *handle)
|
|
|
{
|
|
|
bool valid_handle;
|
|
|
|
|
@@ -1306,7 +1307,8 @@ static long ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
|
|
struct ion_handle *handle;
|
|
|
|
|
|
mutex_lock(&client->lock);
|
|
|
- handle = ion_handle_get_by_id_nolock(client, data.handle.handle);
|
|
|
+ handle = ion_handle_get_by_id_nolock(client,
|
|
|
+ data.handle.handle);
|
|
|
if (IS_ERR(handle)) {
|
|
|
mutex_unlock(&client->lock);
|
|
|
return PTR_ERR(handle);
|