Commit e96a31ce authored by Felix Siegel's avatar Felix Siegel Committed by Greg Kroah-Hartman

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: default avatarFelix Siegel <felix.siegel@posteo.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c60ce7b
...@@ -1347,9 +1347,9 @@ static bool gasket_mm_get_mapping_addrs( ...@@ -1347,9 +1347,9 @@ static bool gasket_mm_get_mapping_addrs(
*virt_offset = 0; *virt_offset = 0;
if (bar_offset + requested_length < range_start) { if (bar_offset + requested_length < range_start) {
/* /*
* If the requested region is completely below the range, * If the requested region is completely below the range,
* there is nothing to map. * there is nothing to map.
*/ */
return false; return false;
} else if (bar_offset <= range_start) { } else if (bar_offset <= range_start) {
/* If the bar offset is below this range's start /* If the bar offset is below this range's start
...@@ -1507,7 +1507,7 @@ static enum do_map_region_status do_map_region( ...@@ -1507,7 +1507,7 @@ static enum do_map_region_status do_map_region(
* Calculates the offset where the VMA range begins in its containing BAR. * Calculates the offset where the VMA range begins in its containing BAR.
* The offset is written into bar_offset on success. * The offset is written into bar_offset on success.
* Returns zero on success, anything else on error. * Returns zero on success, anything else on error.
*/ */
static int gasket_mm_vma_bar_offset( static int gasket_mm_vma_bar_offset(
const struct gasket_dev *gasket_dev, const struct vm_area_struct *vma, const struct gasket_dev *gasket_dev, const struct vm_area_struct *vma,
ulong *bar_offset) ulong *bar_offset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment