mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 20:10:50 +07:00
USB: make usb_iso_packet_descriptor.status signed
The status in usb_iso_packet_descriptor should be signed, for the benefit of someone who casts to a long or makes other benign misstep (the principle of least surprise). Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
8356f3113d
commit
d1bbb60007
@ -935,7 +935,7 @@ struct usb_iso_packet_descriptor {
|
||||
unsigned int offset;
|
||||
unsigned int length; /* expected length */
|
||||
unsigned int actual_length;
|
||||
unsigned int status;
|
||||
int status;
|
||||
};
|
||||
|
||||
struct urb;
|
||||
|
Loading…
Reference in New Issue
Block a user