1. 06 11月, 2014 2 次提交
  2. 24 9月, 2014 1 次提交
  3. 20 4月, 2013 1 次提交
    • J
      usb: storage: Convert US_DEBUGP to usb_stor_dbg · 191648d0
      Joe Perches 提交于
      Use a more current logging style with dev_printk
      where possible.
      
      o Convert uses of US_DEBUGP to usb_stor_dbg
      o Add "struct us_data *" to usb_stor_dbg uses
      o usb_stor_dbg now uses struct device */dev_vprint_emit
      o Removed embedded function names
      o Coalesce formats
      o Remove trailing whitespace
      o Remove useless OOM messages
      o Remove useless function entry/exit logging
      o Convert some US_DEBUGP uses to dev_info and dev_dbg
      
      Object size is slightly reduced when debugging
      is enabled, slightly increased with no debugging
      because some initialization and removal messages
      are now always emitted.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      191648d0
  4. 07 3月, 2013 1 次提交
    • B
      USB: storage: fix Huawei mode switching regression · ab4b7164
      Bjørn Mork 提交于
      This reverts commit 200e0d99 ("USB: storage: optimize to match the
      Huawei USB storage devices and support new switch command" and the
      followup bugfix commit cd060956 ("USB: storage: properly handle
      the endian issues of idProduct").
      
      The commit effectively added a large number of Huawei devices to
      the deprecated usb-storage mode switching logic.  Many of these
      devices have been in use and supported by the userspace
      usb_modeswitch utility for years.  Forcing the switching inside
      the kernel causes a number of regressions as a result of ignoring
      existing onfigurations, and also completely takes away the ability
      to configure mode switching per device/system/user.
      
      Known regressions caused by this:
       - Some of the devices support multiple modes, using different
        switching commands.  There are existing configurations taking
        advantage of this.
      
       - There is a real use case for disabling mode switching and
        instead mounting the exposed storage device. This becomes
        impossible with switching logic inside the usb-storage driver.
      
       - At least on device fail as a result of the usb-storage switching
        command, becoming completely unswitchable. This is possibly a
        firmware bug, but still a regression because the device work as
        expected using usb_modeswitch defaults.
      
      In-kernel mode switching was deprecated years ago with the
      development of the more user friendly userspace alternatives. The
      existing list of devices in usb-storage was only kept to prevent
      breaking already working systems.  The long term plan is to remove
      the list, not to add to it. Ref:
      http://permalink.gmane.org/gmane.linux.usb.general/28543
      
      Cc: <fangxiaozhi@huawei.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ab4b7164
  5. 09 2月, 2013 1 次提交
  6. 05 2月, 2013 1 次提交
  7. 23 9月, 2009 1 次提交
  8. 16 6月, 2009 1 次提交
  9. 23 10月, 2008 1 次提交
    • F
      USB: support Huawei data card product IDs · 1460e5e4
      fangxiaozhi 提交于
      In this patch, we want to do one thing: add more Huawei product IDs into the
      USB driver. Then it can support  more Huawei data card devices. So to declare
      the unusual device for new Huawei data card devices in unusual_devs.h and to
      declare more new product IDs in option.c.
      
      To modify the data value and length in the function of
      usb_stor_huawei_e220_init in initializers.c That's because based on the USB
      standard, while sending SET_FETURE_D to the device, it requires the
      corresponding data to be zero, and its sending length also must be zero.  In
      our old solution, it can be compatible with our WCDMA data card devices, but
      can not support our CDMA data card devices.  But in this new solution, it can
      be compatible with all of our data card devices.
      Signed-off-by: Nfangxiaozhi <huananhu@huawei.com>
      Signed-off-by: NPhil Dibowitz <phil@ipom.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1460e5e4
  10. 22 7月, 2008 1 次提交
  11. 02 2月, 2008 1 次提交
    • M
      USB: usb/storage/initializers.c: fix signedness difference · 0354c1ac
      Marcin Slusarz 提交于
      fix warnings:
      drivers/usb/storage/initializers.c:83:26: warning: incorrect type in argument 5 (different signedness)
      drivers/usb/storage/initializers.c:83:26:    expected unsigned int *act_len
      drivers/usb/storage/initializers.c:83:26:    got int *<noident>
      drivers/usb/storage/initializers.c:89:26: warning: incorrect type in argument 5 (different signedness)
      drivers/usb/storage/initializers.c:89:26:    expected unsigned int *act_len
      drivers/usb/storage/initializers.c:89:26:    got int *<noident>
      Signed-off-by: NMarcin Slusarz <marcin.slusarz@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0354c1ac
  12. 13 10月, 2007 1 次提交
  13. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  14. 28 9月, 2006 1 次提交
  15. 01 2月, 2006 1 次提交
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4