mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
proc: remove use of seq_printf return value
The seq_printf return value, because it's frequently misused,
will eventually be converted to void.
See: commit 1f33c41c03
("seq_file: Rename seq_overflow() to
seq_has_overflowed() and make public")
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c2f0b61d89
commit
25ce319167
2 changed files with 50 additions and 36 deletions
|
@ -632,7 +632,9 @@ static int children_seq_show(struct seq_file *seq, void *v)
|
|||
pid_t pid;
|
||||
|
||||
pid = pid_nr_ns(v, inode->i_sb->s_fs_info);
|
||||
return seq_printf(seq, "%d ", pid);
|
||||
seq_printf(seq, "%d ", pid);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void *children_seq_start(struct seq_file *seq, loff_t *pos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue