projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b570d
)
drm/nouveau/debugfs: Use seq_putc() in nouveau_debugfs_pstate_get()
author
Markus Elfring
<Markus.Elfring@web.de>
Sat, 15 Apr 2023 19:48:47 +0000
(21:48 +0200)
committer
Karol Herbst
<kherbst@redhat.com>
Mon, 17 Apr 2023 17:08:03 +0000
(19:08 +0200)
A single character (line break) should be put into a sequence.
Thus use the corresponding function “seq_putc”.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/e6f9b34e-58d9-b1aa-8b12-8d4a55153d1d@web.de
drivers/gpu/drm/nouveau/nouveau_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_debugfs.c
b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
index
a859a08
..
13c82ee
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_debugfs.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_debugfs.c
@@
-132,7
+132,7
@@
nouveau_debugfs_pstate_get(struct seq_file *m, void *data)
seq_printf(m, " DC");
}
- seq_p
rintf(m, "\n"
);
+ seq_p
utc(m, '\n'
);
}
return 0;