Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 07:34:00 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb usb_subr.c
Message-ID:  <200706170734.l5H7Y0E4040442@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2007-06-17 07:34:00 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          usb_subr.c 
  Log:
  Expand USB_DO_ATTACH inline.
  Remove device_t dv, since it is no longer needed.
  Add sizeof(device_t) to replace sizeof dv.
  Change device_detach(dev) to device_detach(dev->subdevs[i]) since the type
  of dev isn't right!  Not sure when this was introduced, but it likely would
  lead to a crash on disconnect.
  
  MFC After: 1 week
  
  Revision  Changes    Path
  1.93      +8 -12     src/sys/dev/usb/usb_subr.c



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