Skip to contentSkip to conversation

staging: gasket: fix code indent for conditional statement

PATCH New Sumit Pundir 1 participant 1 message Aug 7, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: gasket: fix code indent for conditional statement

Fixed a coding style issue related to indentation. Reported by checkpatch.pl

---
 drivers/staging/gasket/gasket_page_table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gasket/gasket_page_table.c +1 -1
index ed6ab3c5f038..d4c5f8aa7dd3 100644
@@ -1311,7 +1311,7 @@ int gasket_alloc_coherent_memory(struct gasket_dev *gasket_dev, u64 size,
 	gasket_dev->coherent_buffer.virt_base = mem;
 
 	*dma_address = driver_desc->coherent_buffer_description.base;
-		for (j = 0; j < num_pages; j++) {
+	for (j = 0; j < num_pages; j++) {
 		gasket_dev->page_table[index]->coherent_pages[j].paddr =
 			handle + j * PAGE_SIZE;
 		gasket_dev->page_table[index]->coherent_pages[j].kernel_virt =
Signature · 1 line
2.17.1