summaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-06-08 15:07:08 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2009-06-08 15:07:08 +0200
commit312325094785566a0e42a88c1bf6e7eb54c5d70e (patch)
tree6d1b2bc561e4440c871d2d893edfc60f9ed06285 /lib/dma-debug.c
parent62a6f465f6572e1f28765c583c12753bb3e23715 (diff)
downloadlinux-312325094785566a0e42a88c1bf6e7eb54c5d70e.tar.bz2
dma-debug: comment style fixes
Last patch series introduced some new comment which does not fit the Kernel comment style guidelines. Fix it with this patch. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'lib/dma-debug.c')
-rw-r--r--lib/dma-debug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c
index 77053d9ef513..b8a61ff08544 100644
--- a/lib/dma-debug.c
+++ b/lib/dma-debug.c
@@ -542,7 +542,8 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
write_lock_irqsave(&driver_name_lock, flags);
- /* Now handle the string we got from userspace very carefully.
+ /*
+ * Now handle the string we got from userspace very carefully.
* The rules are:
* - only use the first token we got
* - token delimiter is everything looking like a space
@@ -551,7 +552,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
*/
if (!isalnum(buf[0])) {
/*
- If the first character userspace gave us is not
+ * If the first character userspace gave us is not
* alphanumerical then assume the filter should be
* switched off.
*/