1. 29 Jan, 2016 1 commit
    • Peter Maydell's avatar
      usb: Clean up includes · e532b2e0
      Peter Maydell authored
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      This commit was created with scripts/clean-includes.
      Signed-off-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-20-git-send-email-peter.maydell@linaro.org
  2. 18 Feb, 2015 1 commit
    • Markus Armbruster's avatar
      usb: Improve -usbdevice error reporting a bit · 3bc36a40
      Markus Armbruster authored
      Most LegacyUSBFactory usbdevice_init() methods realize with
      qdev_init_nofail(), even though their caller usbdevice_create() can
      handle failure.  Okay if it really can't fail (I didn't check), but
      somewhat brittle.
      usb_msd_init() and usb_bt_init() call qdev_init().  The latter
      additionally reports an error when qdev_init() fails.
      Realization failure produces multiple error reports: a specific one
      from qdev_init(), and generic ones from usb_bt_init(),
      usb_create_simple(), usbdevice_create() and usb_parse().
      Remove realization from the usbdevice_init() methods.  Realize in
      usbdevice_create(), and produce exactly one error message there.  You
      still get another one from usb_parse().
      Signed-off-by: 's avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: 's avatarGerd Hoffmann <kraxel@redhat.com>
  3. 05 Nov, 2013 1 commit
  4. 19 Feb, 2013 1 commit