summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-03-12 12:46:29 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-16 15:36:36 (GMT)
commitbdbceb4de3e383a9d434899ef5ba0fe1da6c2a31 (patch)
treeb68b57ed18ce924f53fcb5a2b4cb541140468e46 /drivers/staging/unisys
parent549fb6e399bc3dfa60134c8ff6501414d423c052 (diff)
downloadlinux-bdbceb4de3e383a9d434899ef5ba0fe1da6c2a31.tar.xz
staging: unisys: fix some debugfs output
When we removed the ERRDEV() macro we made a small mistake so now it doesn't print the "Virtual PCI devices" section header. Fixes: 0aca78449b58 ('staging: unisys: remove ERRDEV macros') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/virtpci/virtpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/virtpci/virtpci.c b/drivers/staging/unisys/virtpci/virtpci.c
index 43b5736..cfefdab 100644
--- a/drivers/staging/unisys/virtpci/virtpci.c
+++ b/drivers/staging/unisys/virtpci/virtpci.c
@@ -1289,8 +1289,8 @@ static ssize_t info_debugfs_read(struct file *file, char __user *buf,
printparam.str_pos = &str_pos;
printparam.buf = vbuf;
printparam.len = &len;
- if (bus_for_each_dev(&virtpci_bus_type, NULL,
- (void *)&printparam, print_vbus))
+ bus_for_each_dev(&virtpci_bus_type, NULL, (void *)&printparam,
+ print_vbus);
str_pos += scnprintf(vbuf + str_pos, len - str_pos,
"\n Virtual PCI devices\n");