re: USB: Add EHCI support for MX27 and MX31 based boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ This warning is very old actually ]

Hello Daniel Mack,

This is a semi-automatic email about new static checker warnings.

The patch 7e8d5cd93fac: "USB: Add EHCI support for MX27 and MX31 
based boards" from Oct 28, 2009, leads to the following Smatch 
complaint:

drivers/usb/host/ehci-mxc.c:187 ehci_mxc_drv_remove()
	 error: we previously assumed 'pdata' could be null (see line 184)

drivers/usb/host/ehci-mxc.c
   183	
   184		if (pdata && pdata->exit)
                    ^^^^^
New check.

   185			pdata->exit(pdev);
   186	
   187		if (pdata->otg)
                    ^^^^^^^^^^
New dereference.

   188			usb_phy_shutdown(pdata->otg);
   189	

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux