forked from MIrrors/gasket-driver
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 <waqarh@axis.com> Change-Id: Ic6658aecdde508762117364669872d69dcb0e8e6
This commit is contained in:
committed by
Leonid Lobachev
parent
fa575cdad7
commit
cf41759771
@@ -511,7 +511,7 @@ static int gasket_perform_mapping(struct gasket_page_table *pg_tbl,
|
|||||||
enum dma_data_direction direction;
|
enum dma_data_direction direction;
|
||||||
|
|
||||||
/* Must have a virtual host address or a sg iterator, but not both. */
|
/* 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");
|
dev_err(pg_tbl->device, "need sg_iter or host_addr\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user