1. 04 Nov, 2017 1 commit
  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 33 commits