✗ CI.checkpatch: warning for usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common() (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed Aug 7 06:37:47 UTC 2024
== Series Details ==
Series: usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common() (rev2)
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
66551fd1be58212fb46d0bc97f2e5ae43c69b733
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9b8e8cba83bf99b8d9ee0546493a1fddd82e5631
Author: Heikki Krogerus <heikki.krogerus at linux.intel.com>
Date: Wed Aug 7 11:57:29 2024 +0530
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.
This is a core-for-ci patch for [1]
[1] https://lore.kernel.org/linux-usb/20240806112029.2984319-1-heikki.krogerus@linux.intel.com/
Reported-by: Luciano Coelho <luciano.coelho at intel.com>
Fixes: 5e9c1662a89b ("usb: typec: ucsi: rework command execution functions")
References: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11849
Signed-off-by: Heikki Krogerus <heikki.krogerus at linux.intel.com>
+ /mt/dim checkpatch 194dde5bb5831ec3973cab0a895f1bc94e8ec0b7 drm-intel
9b8e8cba83bf usb: typec: ucsi: Fix a potential deadlock in ucsi_send_command_common()
-:12: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#12:
[1] https://lore.kernel.org/linux-usb/20240806112029.2984319-1-heikki.krogerus@linux.intel.com/
-:14: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#14:
Reported-by: Luciano Coelho <luciano.coelho at intel.com>
Fixes: 5e9c1662a89b ("usb: typec: ucsi: rework command execution functions")
-:16: WARNING:COMMIT_LOG_USE_LINK: Unknown link reference 'References:', use 'Link:' or 'Closes:' instead
#16:
References: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11849
total: 0 errors, 3 warnings, 0 checks, 17 lines checked
More information about the Intel-xe
mailing list