Re: [PATCH] usb: dwc2: gadget: use | instead of + for bitmasks

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

 



Hi,

On Mon, Jun 29, 2015 at 08:18:48PM -0500, Felipe Balbi wrote:
> It's just a lot clearer to use | operator instead of
> + operator.
> 
> Caught by coccicheck:
> 
> 	"
> 	drivers/usb/dwc2/gadget.c:2883:26-27: WARNING: sum of probable
> 	bitmasks, consider |
> 	"
> 
> Cc: John Youn <John.Youn@xxxxxxxxxxxx>
> Signed-off-by: Felipe Balbi <balbi@xxxxxx>

I have added this to my testing/next since it's not a bug fix. There's
still plenty of time to remove this patch if people disagree.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux