aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-15 19:18:14 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-15 19:35:25 -0400
commitc2f0b61d8969adf0dfb11aea7b700740fde6420b (patch)
tree5c2eb31907c8ac5c6e416786cfb81fd3fc322979 /arch/s390
parentdc640a8813c0015e5a620d41e47df94c9879749d (diff)
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 1f33c41c03da ("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>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/pci/pci_debug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/s390/pci/pci_debug.c b/arch/s390/pci/pci_debug.c
index 3229a2e570df..c22d4402ae45 100644
--- a/arch/s390/pci/pci_debug.c
+++ b/arch/s390/pci/pci_debug.c
@@ -45,8 +45,10 @@ static int pci_perf_show(struct seq_file *m, void *v)
45 45
46 if (!zdev) 46 if (!zdev)
47 return 0; 47 return 0;
48 if (!zdev->fmb) 48 if (!zdev->fmb) {
49 return seq_printf(m, "FMB statistics disabled\n"); 49 seq_puts(m, "FMB statistics disabled\n");
50 return 0;
51 }
50 52
51 /* header */ 53 /* header */
52 seq_printf(m, "FMB @ %p\n", zdev->fmb); 54 seq_printf(m, "FMB @ %p\n", zdev->fmb);