CC: [email protected] In-Reply-To: <f8ccfd3d52a309019ee564ff395491a8f2dc8537.1603343705.git.thinh.ngu...@synopsys.com> References: <f8ccfd3d52a309019ee564ff395491a8f2dc8537.1603343705.git.thinh.ngu...@synopsys.com> TO: Thinh Nguyen <[email protected]>
Hi Thinh, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on 270315b8235e3d10c2e360cff56c2f9e0915a252] url: https://github.com/0day-ci/linux/commits/Thinh-Nguyen/dt-bindings-usb-Add-undetected-disconnection-quirk/20201022-131650 base: 270315b8235e3d10c2e360cff56c2f9e0915a252 :::::: branch date: 2 days ago :::::: commit date: 2 days ago config: i386-randconfig-m031-20201022 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: drivers/usb/host/xhci-ring.c:4277 xhci_resume_isoc() warn: variable dereferenced before check 'vdev->udev' (see line 4270) vim +4277 drivers/usb/host/xhci-ring.c 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4259 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4260 void xhci_resume_isoc(struct work_struct *work) 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4261 { 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4262 struct xhci_hcd *xhci; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4263 struct xhci_virt_device *vdev; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4264 unsigned int slot_id; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4265 unsigned long flags; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4266 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4267 vdev = container_of(to_delayed_work(work), 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4268 struct xhci_virt_device, resume_isoc); 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4269 xhci = vdev->xhci; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 @4270 slot_id = vdev->udev->slot_id; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4271 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4272 spin_lock_irqsave(&xhci->lock, flags); 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4273 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4274 vdev->flags &= ~VDEV_DISCONN_CHECK_PENDING; 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4275 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 4276 /* Resume isoc transfers if the device is still connected */ 47ab6d8c0d7f14f Thinh Nguyen 2020-10-21 @4277 if (xhci->devs[slot_id] && vdev->udev) { --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
