1. 24 Apr, 2024 6 commits
  2. 22 Apr, 2024 27 commits
  3. 19 Apr, 2024 5 commits
  4. 15 Apr, 2024 2 commits
    • Ricardo Ribalda's avatar
      media: usb: siano: Fix allocation of urbs · 836e2548
      Ricardo Ribalda authored
      USB urbs must be allocated with usb_alloc_urb. Quoting the manual
      
      Only use this function (usb_init_urb) if you _really_ understand what you
      are doing.
      
      Fix the following smatch error:
      
      drivers/media/usb/siano/smsusb.c:53:38: warning: array of flexible structures
      Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
      Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
      836e2548
    • Stefan Herdler's avatar
      media: ttpci: coding style fixes: logging · c3224f41
      Stefan Herdler authored
      This patch fixes the following checkpatch warnings:
      
      WARNING:PRINTK_WITHOUT_KERN_LEVEL: printk() should include KERN_<LEVEL> facility level
      WARNING:PREFER_PR_LEVEL: Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then pr_debug(...  to printk(KERN_DEBUG ...
      WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'ciintf_slot_ts_enable', this function's name, in a string
      CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'level' may be better as '(level)' to avoid precedence issues
      
      There was no consistent style of logging functions used so far.
      Convert all logging to the appropriate pr_* macros.
      Add a global pr_fmt macro for the whole driver.
      Signed-off-by: default avatarStefan Herdler <herdler@nurfuerspam.de>
      Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
      c3224f41