[openib-general] [PATCH] fix CA type name truncation
Tom Duffy
tduffy at sun.com
Mon Jan 3 10:36:19 PST 2005
On Thu, 2004-12-23 at 13:46 -0800, Tom Duffy wrote:
> Increase the size of ca_type to accommodate string printed out of ARBEL
> in TAVOR compat mode.
Any reason not to take this patch?
> Index: gen2/trunk/src/userspace/include/umad.h
> ===================================================================
> --- gen2/trunk/src/userspace/include/umad.h (revision 1376)
> +++ gen2/trunk/src/userspace/include/umad.h (working copy)
> @@ -68,7 +68,7 @@
> char ca_name[UMAD_CA_NAME_LEN];
> int numports;
> char fw_ver[20];
> - char ca_type[20];
> + char ca_type[40];
> char hw_ver[20];
> uint64_t node_guid;
> uint64_t system_guid;
-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050103/810d6d60/attachment.sig>
More information about the general
mailing list