summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2014-07-19 19:34:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-21 12:19:23 -0700
commitf0949457ca0d69f7ce7b5a8313801b92169a84e0 (patch)
treecb08aa51ee5b44447d7c5dee7b35913282e7b7a3
parentba5a40d66422fbf9689a98c08a205200a1b47ac3 (diff)
downloadlinux-f0949457ca0d69f7ce7b5a8313801b92169a84e0.tar.bz2
staging: sep: Fix misceanellous problems reported by checkpatch
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/sep/sep_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/sep/sep_main.c b/drivers/staging/sep/sep_main.c
index 5188897e9267..d24acfd5be6d 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;
}
/**
@@ -1736,7 +1735,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);
@@ -1751,7 +1750,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",