From cf417597710e60d31e6736a75056bf33857ede3e Mon Sep 17 00:00:00 2001 From: Waqar Hameed Date: Mon, 6 Apr 2020 14:02:05 +0200 Subject: [PATCH] staging: gasket: Fix formatting Add a space before the open parentheses in an if-statement, to follow Linux kernel coding style. Signed-off-by: Waqar Hameed Change-Id: Ic6658aecdde508762117364669872d69dcb0e8e6 --- gasket_page_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gasket_page_table.c b/gasket_page_table.c index 0740c72..d30247e 100644 --- a/gasket_page_table.c +++ b/gasket_page_table.c @@ -511,7 +511,7 @@ static int gasket_perform_mapping(struct gasket_page_table *pg_tbl, enum dma_data_direction direction; /* Must have a virtual host address or a sg iterator, but not both. */ - if(!((uintptr_t)host_addr ^ (uintptr_t)sg_iter)) { + if (!((uintptr_t)host_addr ^ (uintptr_t)sg_iter)) { dev_err(pg_tbl->device, "need sg_iter or host_addr\n"); return -EINVAL; }