mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
staging: wlan-ng: fix compilation for USB debugging
Fix compilation errors (remove references to 2 undefined fields in the URB struct) when DEBUG_USB is defined for the wlan-ng driver. Signed-off-by: Tim Collier <osdevtc@gmail.com> Link: https://lore.kernel.org/r/20191025084126.9181-5-osdevtc@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
95d8aa5c56
commit
bbf358ec1b
@ -293,13 +293,11 @@ void dbprint_urb(struct urb *urb)
|
|||||||
pr_debug("urb->transfer_buffer_length=0x%08x\n",
|
pr_debug("urb->transfer_buffer_length=0x%08x\n",
|
||||||
urb->transfer_buffer_length);
|
urb->transfer_buffer_length);
|
||||||
pr_debug("urb->actual_length=0x%08x\n", urb->actual_length);
|
pr_debug("urb->actual_length=0x%08x\n", urb->actual_length);
|
||||||
pr_debug("urb->bandwidth=0x%08x\n", urb->bandwidth);
|
|
||||||
pr_debug("urb->setup_packet(ctl)=0x%08x\n",
|
pr_debug("urb->setup_packet(ctl)=0x%08x\n",
|
||||||
(unsigned int)urb->setup_packet);
|
(unsigned int)urb->setup_packet);
|
||||||
pr_debug("urb->start_frame(iso/irq)=0x%08x\n", urb->start_frame);
|
pr_debug("urb->start_frame(iso/irq)=0x%08x\n", urb->start_frame);
|
||||||
pr_debug("urb->interval(irq)=0x%08x\n", urb->interval);
|
pr_debug("urb->interval(irq)=0x%08x\n", urb->interval);
|
||||||
pr_debug("urb->error_count(iso)=0x%08x\n", urb->error_count);
|
pr_debug("urb->error_count(iso)=0x%08x\n", urb->error_count);
|
||||||
pr_debug("urb->timeout=0x%08x\n", urb->timeout);
|
|
||||||
pr_debug("urb->context=0x%08x\n", (unsigned int)urb->context);
|
pr_debug("urb->context=0x%08x\n", (unsigned int)urb->context);
|
||||||
pr_debug("urb->complete=0x%08x\n", (unsigned int)urb->complete);
|
pr_debug("urb->complete=0x%08x\n", (unsigned int)urb->complete);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user