summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2010-09-29 18:11:12 +0400
committerRoland Dreier <rolandd@cisco.com>2010-10-12 07:14:00 +0400
commit8bbac892fb75d20fa274ca026e24faf00afbf9dd (patch)
tree082c5558788796ed31c248b39e99e5b82b111afe /drivers/infiniband
parent40dbf6ee381008e471d3c4a332971247b7799744 (diff)
downloadlinux-8bbac892fb75d20fa274ca026e24faf00afbf9dd.tar.xz
RDMA/cxgb4: Add default_llseek to debugfs files
Incorporate BKL removal changes. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index 986cfd76502c..b25435736d44 100644
--- a/drivers/infiniband/hw/cxgb4/device.c
+++ b/drivers/infiniband/hw/cxgb4/device.c
@@ -182,6 +182,7 @@ static const struct file_operations qp_debugfs_fops = {
.open = qp_open,
.release = qp_release,
.read = debugfs_read,
+ .llseek = default_llseek,
};
static int dump_stag(int id, void *p, void *data)
@@ -255,6 +256,7 @@ static const struct file_operations stag_debugfs_fops = {
.open = stag_open,
.release = stag_release,
.read = debugfs_read,
+ .llseek = default_llseek,
};
static int setup_debugfs(struct c4iw_dev *devp)