]> git.baikalelectronics.ru Git - kernel.git/commit
drm/udl: Fix potential URB leaks
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Sep 2022 09:51:12 +0000 (11:51 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sat, 10 Sep 2022 19:45:52 +0000 (21:45 +0200)
commit92b0119f1be2c9cae8b2c65644501bcde55eddf2
tree5fbb0be33a68e5b925d2e738bb0f12f04724017f
parent87901d656753ea06ab5b4dbd52e86d9fe2a45867
drm/udl: Fix potential URB leaks

A couple of error handlings forgot to process the URB completion.
Those are both with WARN_ON() so should be visible, but we must fix
them in anyway.

Fixes: e67ecf8e6d2a ("drm/udl: Replace BUG_ON() with WARN_ON()")
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-10-tiwai@suse.de
drivers/gpu/drm/udl/udl_main.c
drivers/gpu/drm/udl/udl_transfer.c