Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71a188c6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_qdss: Add NULL check in qdss_bind_config"

parents 26126885 570fdae6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -747,6 +747,9 @@ static int qdss_bind_config(struct usb_configuration *c, unsigned char portno)
	else
		name = kasprintf(GFP_ATOMIC, "qdss%d", portno);

	if (!name)
		return -ENOMEM;

	spin_lock_irqsave(&d_lock, flags);

	list_for_each_entry(ch, &usb_qdss_ch_list, list) {