|
From: | Gerd Hoffmann |
Subject: | Re: [PATCH 3/6] hw/usb/quirks: Use smaller types to reduce .rodata by 10KiB |
Date: | Thu, 5 Mar 2020 09:02:37 +0100 |
> struct usb_device_id { > - int vendor_id; > - int product_id; > - int interface_class; > - int interface_subclass; > - int interface_protocol; > + int16_t vendor_id; > + int16_t product_id; > + int8_t interface_class; > + int8_t interface_subclass; > + int8_t interface_protocol; I guess we should better use the uint variants here ... cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |