RE: USB: chipidea: add vbus detect for udc

2012-11-07 Thread Chen Peter-B29397
> > On Mon, Nov 05, 2012 at 08:27:40PM +0300, Dan Carpenter wrote: > > Hello Richard Zhao, > > > > The patch 8c4fc031954b: "USB: chipidea: add vbus detect for udc" from > > Sep 12, 2012, leads to the following Smatch warning: > > drivers/usb/chipidea/udc.c:1683 udc_irq() > > warn: odd binop

re: USB: chipidea: add vbus detect for udc

2012-11-05 Thread Dan Carpenter
Hello Richard Zhao, The patch 8c4fc031954b: "USB: chipidea: add vbus detect for udc" from Sep 12, 2012, leads to the following Smatch warning: drivers/usb/chipidea/udc.c:1683 udc_irq() warn: odd binop '0x200 & 0x2' 1680 intr = hw_read(ci, OP_OTGSC, ~0); 1681