summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPramod Kumar <pramod@chelsio.com>2014-11-21 18:36:35 +0300
committerRoland Dreier <roland@purestorage.com>2014-12-16 05:10:45 +0300
commit63a71ba6178a1989dcea1c5f595b6c6a3d48d6d9 (patch)
tree88fd548fe3279f5df2eb5b3e9e94d5a0234c8a28 /drivers
parent70e71ca0af244f48a5dcf56dc435243792e3a495 (diff)
downloadlinux-63a71ba6178a1989dcea1c5f595b6c6a3d48d6d9.tar.xz
RDMA/cxgb4: Increase epd buff size for debug interface
IPv6 address string lengths require increasing the buffer size for debugfs handlers. Signed-off-by: Pramod Kumar <pramod@chelsio.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/cxgb4/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index 72f1f052e88c..eb5df4e62703 100644
--- a/drivers/infiniband/hw/cxgb4/device.c
+++ b/drivers/infiniband/hw/cxgb4/device.c
@@ -670,7 +670,7 @@ static int ep_open(struct inode *inode, struct file *file)
idr_for_each(&epd->devp->stid_idr, count_idrs, &count);
spin_unlock_irq(&epd->devp->lock);
- epd->bufsize = count * 160;
+ epd->bufsize = count * 240;
epd->buf = vmalloc(epd->bufsize);
if (!epd->buf) {
ret = -ENOMEM;