diff options
-rw-r--r-- | lib/dma-debug.c | 5 |
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, | |||
542 | 542 | ||
543 | write_lock_irqsave(&driver_name_lock, flags); | 543 | write_lock_irqsave(&driver_name_lock, flags); |
544 | 544 | ||
545 | /* Now handle the string we got from userspace very carefully. | 545 | /* |
546 | * Now handle the string we got from userspace very carefully. | ||
546 | * The rules are: | 547 | * The rules are: |
547 | * - only use the first token we got | 548 | * - only use the first token we got |
548 | * - token delimiter is everything looking like a space | 549 | * - token delimiter is everything looking like a space |
@@ -551,7 +552,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf, | |||
551 | */ | 552 | */ |
552 | if (!isalnum(buf[0])) { | 553 | if (!isalnum(buf[0])) { |
553 | /* | 554 | /* |
554 | If the first character userspace gave us is not | 555 | * If the first character userspace gave us is not |
555 | * alphanumerical then assume the filter should be | 556 | * alphanumerical then assume the filter should be |
556 | * switched off. | 557 | * switched off. |
557 | */ | 558 | */ |