[PATCH] ALSA: usb-audio: check urb before kill it

Markus Elfring Markus.Elfring at web.de
Mon Dec 28 12:28:18 CET 2020


> Similar to commit<124751d5e>, there should be a check for urb before kill it.

I suggest to reconsider this change description.
How does it fit to the information “may be NULL” from the function documentation?
https://elixir.bootlin.com/linux/v5.10.3/source/drivers/usb/core/urb.c#L677

Regards,
Markus


More information about the Alsa-devel mailing list