Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63a71ba6 authored by Pramod Kumar's avatar Pramod Kumar Committed by Roland Dreier
Browse files

RDMA/cxgb4: Increase epd buff size for debug interface



IPv6 address string lengths require increasing the buffer size for
debugfs handlers.

Signed-off-by: default avatarPramod Kumar <pramod@chelsio.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 70e71ca0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;