[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1408039293-163021-1-git-send-email-dave.jiang@intel.com>
Date: Thu, 14 Aug 2014 11:01:33 -0700
From: Dave Jiang <dave.jiang@...el.com>
To: jdmason@...il.com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] ntb: fix sysfs display of usd vs dsd
The sysfs display is opposite of the discovery printout and what the BIOS
has configured.
Signed-off-by: Dave Jiang <dave.jiang@...el.com>
---
drivers/ntb/ntb_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index db0fe8a..ce6680a 100644
--- a/drivers/ntb/ntb_hw.c
+++ b/drivers/ntb/ntb_hw.c
@@ -1369,7 +1369,7 @@ static ssize_t ntb_debugfs_read(struct file *filp, char __user *ubuf,
offset += snprintf(buf + offset, out_count - offset,
"Device Type - \t\t\t%s\n",
ndev->dev_type == NTB_DEV_USD ?
- "DSD/USP" : "USD/DSP");
+ "USD/DSP" : "DSD/USP");
offset += snprintf(buf + offset, out_count - offset,
"Max Number of Callbacks - \t%u\n",
ntb_max_cbs(ndev));
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists