mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-30 19:07:15 +00:00
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>
This commit is contained in:
parent
62a6f465f6
commit
3123250947
1 changed files with 3 additions and 2 deletions
|
@ -542,7 +542,8 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
|
||||||
|
|
||||||
write_lock_irqsave(&driver_name_lock, flags);
|
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:
|
* The rules are:
|
||||||
* - only use the first token we got
|
* - only use the first token we got
|
||||||
* - token delimiter is everything looking like a space
|
* - 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 (!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
|
* alphanumerical then assume the filter should be
|
||||||
* switched off.
|
* switched off.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue