Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 17:05:03 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191892 - head/sys/dev/usb/serial
Message-ID:  <200905071705.n47H53sG062342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Thu May  7 17:05:03 2009
New Revision: 191892
URL: http://svn.freebsd.org/changeset/base/191892

Log:
  Use a 32 bit type for the interface mask as this equals the max interface
  count.

Modified:
  head/sys/dev/usb/serial/u3g.c

Modified: head/sys/dev/usb/serial/u3g.c
==============================================================================
--- head/sys/dev/usb/serial/u3g.c	Thu May  7 16:43:49 2009	(r191891)
+++ head/sys/dev/usb/serial/u3g.c	Thu May  7 17:05:03 2009	(r191892)
@@ -440,7 +440,8 @@ u3g_attach(device_t dev)
 	struct u3g_softc *sc = device_get_softc(dev);
 	struct usb2_interface *iface;
 	struct usb2_interface_descriptor *id;
-	int error, iface_valid, flags, nports;
+	uint32_t iface_valid;
+	int error, flags, nports;
 	int ep, n;
 	uint8_t i;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905071705.n47H53sG062342>