Loading
usb: gadget: Add NULL check in str_to_xport
Modify str_to_xport() to return UNDEFINED if xport_name is NULL.
Change-Id: I2f8be050018bdeb39440fe1704a7938a63e21231
Signed-off-by:
Saket Saurabh <ssaurabh@codeaurora.org>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Modify str_to_xport() to return UNDEFINED if xport_name is NULL.
Change-Id: I2f8be050018bdeb39440fe1704a7938a63e21231
Signed-off-by:
Saket Saurabh <ssaurabh@codeaurora.org>