mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
s390: 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>
Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.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
dc640a8813
commit
c2f0b61d89
2 changed files with 11 additions and 7 deletions
|
@ -45,8 +45,10 @@ static int pci_perf_show(struct seq_file *m, void *v)
|
|||
|
||||
if (!zdev)
|
||||
return 0;
|
||||
if (!zdev->fmb)
|
||||
return seq_printf(m, "FMB statistics disabled\n");
|
||||
if (!zdev->fmb) {
|
||||
seq_puts(m, "FMB statistics disabled\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* header */
|
||||
seq_printf(m, "FMB @ %p\n", zdev->fmb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue