#ifndef _MPX_DEBUG_H #define _MPX_DEBUG_H #ifndef DEBUG_LEVEL #define DEBUG_LEVEL 0 #endif #define dprintf_level(level, args...) do { if(level <= DEBUG_LEVEL) printf(args); } while(0) #define dprintf1(args...) dprintf_level(1, args) #define dprintf2(args...) dprintf_level(2, args) #define dprintf3(args...) dprintf_level(3, args) #define dprintf4(args...) dprintf_level(4, args) #define dprintf5(args...) dprintf_level(5, args) #endif /* _MPX_DEBUG_H */ 'net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/vudc_rx.c
diff options
context:
space:
mode:
authorSainath Grandhi <sainath.grandhi@intel.com>2017-02-10 16:03:50 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-11 20:59:41 -0500
commitd9f1f61c0801a73ff36d416a7ede54229b231e1d (patch)
tree2f9970b37ac99da534f7ca58b6b67ee880ead3cd /drivers/usb/usbip/vudc_rx.c
parent6fe3faf86757eb7f078ff06b23b206f17dc4fb36 (diff)
tap: Extending tap device create/destroy APIs
Extending tap APIs get/free_minor and create/destroy_cdev to handle more than one type of virtual interface. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/usbip/vudc_rx.c')