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

Commit efe357f4 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Felipe Balbi
Browse files

usb: dwc2: host: fix Wmaybe-uninitialized warning



Uninitialized char* causes a sparse build-warning, fix it up by
initializing it to NULL.

Acked-by: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent ca02954a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4492,8 +4492,8 @@ static void dwc2_dump_urb_info(struct usb_hcd *hcd, struct urb *urb,
{
#ifdef VERBOSE_DEBUG
	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
	char *pipetype;
	char *speed;
	char *pipetype = NULL;
	char *speed = NULL;

	dev_vdbg(hsotg->dev, "%s, urb %p\n", fn_name, urb);
	dev_vdbg(hsotg->dev, "  Device address: %d\n",