aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_sysfs.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_sysfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_sysfs.c b/drivers/infiniband/hw/ipath/ipath_sysfs.c
index bb75076c182..b98821d7801 100644
--- a/drivers/infiniband/hw/ipath/ipath_sysfs.c
+++ b/drivers/infiniband/hw/ipath/ipath_sysfs.c
@@ -35,8 +35,8 @@
35#include <linux/pci.h> 35#include <linux/pci.h>
36 36
37#include "ipath_kernel.h" 37#include "ipath_kernel.h"
38#include "ips_common.h"
39#include "ipath_layer.h" 38#include "ipath_layer.h"
39#include "ipath_common.h"
40 40
41/** 41/**
42 * ipath_parse_ushort - parse an unsigned short value in an arbitrary base 42 * ipath_parse_ushort - parse an unsigned short value in an arbitrary base
@@ -187,7 +187,7 @@ static ssize_t store_lid(struct device *dev,
187 if (ret < 0) 187 if (ret < 0)
188 goto invalid; 188 goto invalid;
189 189
190 if (lid == 0 || lid >= IPS_MULTICAST_LID_BASE) { 190 if (lid == 0 || lid >= IPATH_MULTICAST_LID_BASE) {
191 ret = -EINVAL; 191 ret = -EINVAL;
192 goto invalid; 192 goto invalid;
193 } 193 }
@@ -221,7 +221,7 @@ static ssize_t store_mlid(struct device *dev,
221 int ret; 221 int ret;
222 222
223 ret = ipath_parse_ushort(buf, &mlid); 223 ret = ipath_parse_ushort(buf, &mlid);
224 if (ret < 0 || mlid < IPS_MULTICAST_LID_BASE) 224 if (ret < 0 || mlid < IPATH_MULTICAST_LID_BASE)
225 goto invalid; 225 goto invalid;
226 226
227 unit = dd->ipath_unit; 227 unit = dd->ipath_unit;