aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/gasket/gasket_core.c
diff options
context:
space:
mode:
authorFelix Siegel <felix.siegel@posteo.de>2018-07-12 21:27:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-12 21:54:16 +0200
commite96a31cee962d766409d7da25d1831b3348b0a61 (patch)
treed3c63b9be66b7990dbbdbf0e979604c81917ea08 /drivers/staging/gasket/gasket_core.c
parentstaging: gasket: Move open-curly brace to match kernel code style (diff)
downloadlinux-dev-e96a31cee962d766409d7da25d1831b3348b0a61.tar.xz
linux-dev-e96a31cee962d766409d7da25d1831b3348b0a61.zip
staging: gasket: fix multi line comments style
This patch fixes checkpatch.pl warnings: WARNING: Block comments should align the * on each line Signed-off-by: Felix Siegel <felix.siegel@posteo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gasket/gasket_core.c')
-rw-r--r--drivers/staging/gasket/gasket_core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c
index 5863a3f79ff4..4ca6e53116ea 100644
--- a/drivers/staging/gasket/gasket_core.c
+++ b/drivers/staging/gasket/gasket_core.c
@@ -1347,9 +1347,9 @@ static bool gasket_mm_get_mapping_addrs(
*virt_offset = 0;
if (bar_offset + requested_length < range_start) {
/*
- * If the requested region is completely below the range,
- * there is nothing to map.
- */
+ * If the requested region is completely below the range,
+ * there is nothing to map.
+ */
return false;
} else if (bar_offset <= range_start) {
/* If the bar offset is below this range's start
@@ -1507,7 +1507,7 @@ fail:
* Calculates the offset where the VMA range begins in its containing BAR.
* The offset is written into bar_offset on success.
* Returns zero on success, anything else on error.
-*/
+ */
static int gasket_mm_vma_bar_offset(
const struct gasket_dev *gasket_dev, const struct vm_area_struct *vma,
ulong *bar_offset)