✗ CI.checkpatch: warning for usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common()

Patchwork patchwork at emeril.freedesktop.org
Mon Aug 5 15:07:53 UTC 2024


== Series Details ==

Series: usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common()
URL   : https://patchwork.freedesktop.org/series/136889/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
9e645341d3008ce246879af606f45d0e5d21d698
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 21e827e7396b3f66261001ae39a109c3cd1d9c0f
Author: Heikki Krogerus <heikki.krogerus at linux.intel.com>
Date:   Mon Aug 5 18:02:30 2024 +0300

    usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common()
    
    The function returns with the ppm_lock held if there's an
    error or the PPM reports BUSY condition.
    
    Reported-by: Luciano Coelho <luciano.coelho at intel.com>
    Fixes: 5e9c1662a89b ("usb: typec: ucsi: rework command execution functions")
    Cc: stable at vger.kernel.org
    Signed-off-by: Heikki Krogerus <heikki.krogerus at linux.intel.com>
    Signed-off-by: Luca Coelho <luciano.coelho at intel.com>
+ /mt/dim checkpatch d15caf398bccf6c9d34363f65251b7192f833dc9 drm-intel
21e827e7396b usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common()
-:10: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#10: 
Reported-by: Luciano Coelho <luciano.coelho at intel.com>
Fixes: 5e9c1662a89b ("usb: typec: ucsi: rework command execution functions")

total: 0 errors, 1 warnings, 0 checks, 17 lines checked




More information about the Intel-xe mailing list