|
@@ -1605,7 +1605,7 @@ nomem:
|
|
|
|
|
|
if (gasket_dev->page_table[index]->coherent_pages) {
|
|
if (gasket_dev->page_table[index]->coherent_pages) {
|
|
kfree(gasket_dev->page_table[index]->coherent_pages);
|
|
kfree(gasket_dev->page_table[index]->coherent_pages);
|
|
- gasket_dev->page_table[index]->coherent_pages = 0;
|
|
|
|
|
|
+ gasket_dev->page_table[index]->coherent_pages = NULL;
|
|
}
|
|
}
|
|
gasket_dev->page_table[index]->num_coherent_pages = 0;
|
|
gasket_dev->page_table[index]->num_coherent_pages = 0;
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|