1. 04 Nov, 2017 10 commits
    • Greg Kroah-Hartman's avatar
      USB: common: Remove redundant license text · 366122af
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
      Cc: Peter Chen <Peter.Chen@nxp.com>
      Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      366122af
    • Greg Kroah-Hartman's avatar
      USB: usb-skeleton: Remove redundant license text · f64cdd0e
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f64cdd0e
    • Greg Kroah-Hartman's avatar
      USB: core: Remove redundant license text · f9d4d453
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f9d4d453
    • Greg Kroah-Hartman's avatar
      USB: image: Remove redundant license text · 6748fa8f
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6748fa8f
    • Greg Kroah-Hartman's avatar
      USB: class: Remove redundant license text · adb393dc
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Oliver Neukum <oneukum@suse.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      adb393dc
    • Greg Kroah-Hartman's avatar
      USB: atm: Remove redundant license text · 4a8635ae
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Duncan Sands <duncan.sands@free.fr>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4a8635ae
    • Greg Kroah-Hartman's avatar
      USB: misc: Remove redundant license text · 5d62afbe
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Keith Packard <keithp@keithp.com>
      Cc: Juergen Stuber <starblue@users.sourceforge.net>
      Cc: Cesar Miquel <miquel@df.uba.ar>
      Cc: Richard Leitner <richard.leitner@skidata.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5d62afbe
    • Greg Kroah-Hartman's avatar
      USB: storage: Remove redundant license text · 7cb2d993
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Oliver Neukum <oneukum@suse.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7cb2d993
    • Greg Kroah-Hartman's avatar
      USB: serial: Remove redundant license text · 6ca98bc2
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: default avatarJohan Hovold <johan@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6ca98bc2
    • Greg Kroah-Hartman's avatar
      USB: add SPDX identifiers to all remaining files in drivers/usb/ · 5fd54ace
      Greg Kroah-Hartman authored
      It's good to have SPDX identifiers in all files to make it easier to
      audit the kernel tree for correct licenses.
      
      Update the drivers/usb/ and include/linux/usb* files with the correct
      SPDX license identifier based on the license text in the file itself.
      The SPDX identifier is a legally binding shorthand, which can be used
      instead of the full boiler plate text.
      
      This work is based on a script and data from Thomas Gleixner, Philippe
      Ombredanne, and Kate Stewart.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Cc: Philippe Ombredanne <pombredanne@nexb.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Acked-by: default avatarJohan Hovold <johan@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5fd54ace
  2. 03 Nov, 2017 3 commits
  3. 02 Nov, 2017 3 commits
    • Arnd Bergmann's avatar
      usb: mtu3: fix dma_addr_t printk output again · 20ef800b
      Arnd Bergmann authored
      The support for 36-bit addresses originally came with an incorrect
      printk format for dma addresses. Felipe changed the format string it
      while applying, but the result was still incorrect, since we now have
      to pass a pointer to the address instead of the integer value:
      
      drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_tx_gpd':
      drivers/usb/mtu3/mtu3_qmu.c:261:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=]
      drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_rx_gpd':
      drivers/usb/mtu3/mtu3_qmu.c:300:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=]
      
      This fixes the printk argument accordingly.
      
      Fixes: 1a46dfea ("usb: mtu3: support 36-bit DMA address")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      20ef800b
    • Arnd Bergmann's avatar
      usb: xhci: tegra: use time64_t for printing timestamp · 9506b146
      Arnd Bergmann authored
      The time_t type and time_to_tm() function are deprecated because
      of y2038 problems. In this driver, they are used to pretty-print
      the timestamp of the firmware build. This is fine as long as
      we don't get a firmware build past 2038.
      
      Converting to time64_t and time64_to_tm() avoids the deprecated
      interfaces and works until 2106, when the firmware-defined
      data structure overflows.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9506b146
    • Greg Kroah-Hartman's avatar
      Merge tag 'usb-serial-4.15-rc1' of... · 29ce32ec
      Greg Kroah-Hartman authored
      Merge tag 'usb-serial-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
      
      Johan writes:
      
      USB-serial updates for v4.15-rc1
      
      Here are the USB-serial updates for 4.15-rc1, including:
      
       - three fixes for longstanding issues in garmin_gps and metro-usb which
         could lead to NULL-pointer dereferences and memory leaks
      
       - a workaround for broken f81534 firmware-handling of overruns
      
       - f81534 break support, and
      
       - conversion to timer_setup()
      
      Included are also various clean ups and a new qcserial device id.
      
      All have been in linux-next with no reported issues.
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      29ce32ec
  4. 01 Nov, 2017 24 commits