USB: reorganize urb->status use in usbmon
This patch (as978) reorganizes the way usbmon uses urb->status. It now accepts the status value as an argument. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
888fda4705
commit
9347d51c52
@@ -46,7 +46,7 @@ struct mon_reader {
|
||||
|
||||
void (*rnf_submit)(void *data, struct urb *urb);
|
||||
void (*rnf_error)(void *data, struct urb *urb, int error);
|
||||
void (*rnf_complete)(void *data, struct urb *urb);
|
||||
void (*rnf_complete)(void *data, struct urb *urb, int status);
|
||||
};
|
||||
|
||||
void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r);
|
||||
|
Reference in New Issue
Block a user