summaryrefslogtreecommitdiff
path: root/drivers/isdn/hardware/eicon/debuglib.h
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-04 09:24:59 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-10-07 06:30:39 (GMT)
commitc2dddf941409635601e56c1990c5ab0bd395742c (patch)
tree77df90b752ee44ddc82ed1a31f310e152a307b4d /drivers/isdn/hardware/eicon/debuglib.h
parent1f4f0f645cc1d7f1187fcdb0ac22c2e69bd68050 (diff)
downloadlinux-fsl-qoriq-c2dddf941409635601e56c1990c5ab0bd395742c.tar.xz
eicon: make buffer larger
In diva_mnt_add_xdi_adapter() we do this: strcpy (clients[id].drvName, tmp); strcpy (clients[id].Dbg.drvName, tmp); The "clients[id].drvName" is a 128 character buffer and "clients[id].Dbg.drvName" was originally a 16 character buffer but I've changed it to 128 as well. We don't actually use 128 characters but we do use more than 16. I've also changed the size of "tmp" to 128 characters instead of 256. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/eicon/debuglib.h')
-rw-r--r--drivers/isdn/hardware/eicon/debuglib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/eicon/debuglib.h b/drivers/isdn/hardware/eicon/debuglib.h
index 8ea5877..02eed6b 100644
--- a/drivers/isdn/hardware/eicon/debuglib.h
+++ b/drivers/isdn/hardware/eicon/debuglib.h
@@ -249,7 +249,7 @@ typedef struct _DbgHandle_
} regTime ; /* timestamp for registration */
void *pIrp ; /* ptr to pending i/o request */
unsigned long dbgMask ; /* current debug mask */
- char drvName[16] ; /* ASCII name of registered driver */
+ char drvName[128] ; /* ASCII name of registered driver */
char drvTag[64] ; /* revision string */
DbgEnd dbg_end ; /* function for debug closing */
DbgLog dbg_prt ; /* function for debug appending */