svn commit: r217217 - projects/ofed/head/sys/ofed/include/rdma
Jeff Roberson
jeff at FreeBSD.org
Mon Jan 10 03:57:28 UTC 2011
Author: jeff
Date: Mon Jan 10 03:57:27 2011
New Revision: 217217
URL: http://svn.freebsd.org/changeset/base/217217
Log:
- Correct the type of 'tag'
Sponsored by: Isilon Systems, iX Systems, and Panasas.
Modified:
projects/ofed/head/sys/ofed/include/rdma/ib_addr.h
Modified: projects/ofed/head/sys/ofed/include/rdma/ib_addr.h
==============================================================================
--- projects/ofed/head/sys/ofed/include/rdma/ib_addr.h Mon Jan 10 03:56:58 2011 (r217216)
+++ projects/ofed/head/sys/ofed/include/rdma/ib_addr.h Mon Jan 10 03:57:27 2011 (r217217)
@@ -154,7 +154,7 @@ static inline u16 rdma_vlan_dev_vlan_id(
return dev->priv_flags & IFF_802_1Q_VLAN ?
vlan_dev_vlan_id(dev) : 0xffff;
#else
- int tag;
+ uint16_t tag;
if (VLAN_TAG(__DECONST(struct ifnet *, dev), &tag) != 0)
return 0xffff;
More information about the svn-src-projects
mailing list