Skip to content

Commit

Permalink
#Linux# Use negated usb_endpoint_xfer_control, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Coccinellery committed Aug 10, 2016
1 parent 2525f4e commit e6e31f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions epdneg/epdneg.cocci
@@ -1,3 +1,13 @@
//
// Use negated usb_endpoint_xfer_control, etc
//
// Target: Linux
// Copyright: 2012 - LIP6/INRIA
// License: Licensed under ISC. See LICENSE or http://www.isc.org/software/license
// Author: Julia Lawall <Julia.Lawall@lip6.fr>
// URL: http://coccinelle.lip6.fr/
// URL: http://coccinellery.org/

@@ struct usb_endpoint_descriptor *epd; @@
- (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_CONTROL\|0\))
Expand Down

0 comments on commit e6e31f3

Please sign in to comment.