[PATCH 3/4] staging: sep: Fix misceanellous problems reported by checkpatch

From: LABBE Corentin
Date: Sat Jul 19 2014 - 13:35:29 EST


Signed-off-by: LABBE Corentin <clabbe.montjoie@xxxxxxxxx>
---
drivers/staging/sep/sep_main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/sep/sep_main.c b/drivers/staging/sep/sep_main.c
index 1580d95f..6f98881 100644
--- a/drivers/staging/sep/sep_main.c
+++ b/drivers/staging/sep/sep_main.c
@@ -130,7 +130,6 @@ void sep_queue_status_remove(struct sep_device *sep,

dev_dbg(&sep->pdev->dev, "[PID%d] sep_queue_status_remove return\n",
current->pid);
- return;
}

/**
@@ -1737,7 +1736,7 @@ static void sep_debug_print_lli_tables(struct sep_device *sep,
return;
}

- while ((unsigned long) lli_table_ptr->bus_address != 0xffffffff) {
+ while ((unsigned long)lli_table_ptr->bus_address != 0xffffffff) {
dev_dbg(&sep->pdev->dev,
"[PID%d] lli table %08lx, table_data_size is (hex) %lx\n",
current->pid, table_count, table_data_size);
@@ -1752,7 +1751,7 @@ static void sep_debug_print_lli_tables(struct sep_device *sep,
dev_dbg(&sep->pdev->dev,
"[PID%d] lli_table_ptr address is %08lx\n",
current->pid,
- (unsigned long) lli_table_ptr);
+ (unsigned long)lli_table_ptr);

dev_dbg(&sep->pdev->dev,
"[PID%d] phys address is %08lx block size is (hex) %x\n",
--
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/