1. 23 7月, 2008 16 次提交
  2. 22 7月, 2008 15 次提交
    • O
      USB: fix double kfree in ipaq in error case · df3e1ab7
      Oliver Neukum 提交于
      in the error case the ipaq driver leaves a dangling pointer to already
      freed memory that will be freed again.
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      df3e1ab7
    • A
      USB: debug port converter does not accept more than 8 byte packets · 71be4f81
      Aleksey Gorelov 提交于
      USB debug port only supports 8 byte rx/tx packets. Although spec implies that
      "if a packet larger than eight bytes is received from the remote computer, the
      device must break the larger packet into eight-byte packets before sending the
      data to the Debug Port", the real PLX NET20DC device does not handle it right -
      data is corrupted on debug port end if serial interface sends >8 byte urbs.
      Patch below fixes the issue by limiting tx urb to 8 byte.
      
      Signed off by: Aleks Gorelov <dared1st@yahoo.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      71be4f81
    • O
      USB: fix usb serial pm counter decrement for disconnected interfaces · 62ad296b
      Oliver Neukum 提交于
      usb serial decrements the pm counter even if an interface has been
      disconnected. If it was a logical disconnect the interface may belong
      already to another driver. This patch introduces a check for disconnected
      interfaces.
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Cc: Stable <stable@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      62ad296b
    • B
      USB: keyspan: Remove duplicate device entries · 188d6360
      Ben Collins 提交于
      The 28xb, as documented in comments, has the same ID's as the 28x.
      Remove the duplicated ID's from the device tables, and expand the
      comment to document this.
      Signed-off-by: NBen Collins <ben.collins@canonical.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      188d6360
    • B
      usb: fix uninitialized variable warning in keyspan_pda · 3b36a8fd
      Benny Halevy 提交于
      This fixes the compiler warning.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      3b36a8fd
    • A
      USB: usb-serial: fix a sparse warning about different signedness · dd9ca5d9
      Andre Haupt 提交于
      fix the following sparse warning:
      
      drivers/usb/serial/usb-serial.c:927:43: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/usb-serial.c:927:43:    expected unsigned int *minor
      drivers/usb/serial/usb-serial.c:927:43:    got int *<noident>
        CHECK   drivers/usb/serial/generic.c
      Signed-off-by: NAndre Haupt <andre@bitwigglers.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      dd9ca5d9
    • G
      USB: delete airprime driver · 640c1bce
      Greg Kroah-Hartman 提交于
      This driver is only for one device id, and the option driver should be
      used instead for it.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      640c1bce
    • F
      usb: irda: cleanup on ir-usb module · e0d795e4
      Felipe Balbi 提交于
      General cleanup on ir-usb module. Introduced
      a common header that could be used also on
      usb gadget framework.
      
      Lot's of cleanups and now using macros from the header
      file.
      Signed-off-by: NFelipe Balbi <me@felipebalbi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e0d795e4
    • H
      USB: cp2101.c fix sparse signedness mismatch warnings · b2bdd1f5
      Harvey Harrison 提交于
      The get/set 2101_config helpers take an unsigned int rather than an
      int.  It is safe to change these in each case and may even produce
      better code as it will be an unsigned divide rather than a signed
      divide in places.  All other manipulation was setting/masking bits
      which will not be affected by the sign change.
      
      Fixes the following sparse warnings:
      drivers/usb/serial/cp2101.c:378:44: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:378:44:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:378:44:    got int *<noident>
      drivers/usb/serial/cp2101.c:388:40: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:388:40:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:388:40:    got int *<noident>
      drivers/usb/serial/cp2101.c:413:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:413:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:413:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:421:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:421:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:421:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:444:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:444:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:444:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:451:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:451:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:451:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:458:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:458:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:458:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:471:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:471:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:471:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:481:42: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:481:42:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:481:42:    got int *<noident>
      drivers/usb/serial/cp2101.c:561:41: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:561:41:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:561:41:    got int *<noident>
      drivers/usb/serial/cp2101.c:591:45: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:591:45:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:591:45:    got int *<noident>
      drivers/usb/serial/cp2101.c:597:41: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:597:41:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:597:41:    got int *<noident>
      drivers/usb/serial/cp2101.c:608:45: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:608:45:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:608:45:    got int *<noident>
      drivers/usb/serial/cp2101.c:614:41: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:614:41:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:614:41:    got int *<noident>
      drivers/usb/serial/cp2101.c:623:45: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:623:45:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:623:45:    got int *<noident>
      drivers/usb/serial/cp2101.c:680:50: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:680:50:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:680:50:    got int *<noident>
      drivers/usb/serial/cp2101.c:690:43: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:690:43:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:690:43:    got int *<noident>
      drivers/usb/serial/cp2101.c:715:41: warning: incorrect type in argument 3 (different signedness)
      drivers/usb/serial/cp2101.c:715:41:    expected unsigned int *data
      drivers/usb/serial/cp2101.c:715:41:    got int *<noident>
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b2bdd1f5
    • H
    • A
      USB: remove CVS keywords · ea05af61
      Adrian Bunk 提交于
      This patch removes CVS keywords that weren't updated for a long time
      from comments.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ea05af61
    • A
      USB: io_ti: FIrst cut at a big clean up · 2742fd88
      Alan Cox 提交于
      Sort out the insane naming like "OperationalFirmwareVersion" which seems
      	designed to cause formatting problems and RSI
      Merge various common code together
      Clean up the pointlessly complex and spread about MCR handling
      
      This is really just the low hanging fruit.
      
      Needs lots of testing before it goes upstream so testers and reports
      appreciated
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2742fd88
    • H
    • K
      USB: usb dev_set_name() instead of dev->bus_id · 0031a06e
      Kay Sievers 提交于
      The bus_id field is going away, use the dev_set_name() function
      to set it properly.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0031a06e
    • K
      USB: usb dev_name() instead of dev->bus_id · 7071a3ce
      Kay Sievers 提交于
      The bus_id field is going away, use the dev_name() function instead.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7071a3ce
  3. 15 7月, 2008 2 次提交
  4. 10 7月, 2008 4 次提交
  5. 04 7月, 2008 3 次提交