OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e71ca
)
RDMA/cxgb4: Increase epd buff size for debug interface
author
Pramod Kumar
<pramod@chelsio.com>
Fri, 21 Nov 2014 15:36:35 +0000
(09:36 -0600)
committer
Roland Dreier
<roland@purestorage.com>
Tue, 16 Dec 2014 02:10:45 +0000
(18:10 -0800)
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>
drivers/infiniband/hw/cxgb4/device.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/device.c
b/drivers/infiniband/hw/cxgb4/device.c
index
72f1f05
..
eb5df4e
100644
(file)
--- 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 *
16
0;
+ epd->bufsize = count *
24
0;
epd->buf = vmalloc(epd->bufsize);
if (!epd->buf) {
ret = -ENOMEM;