[Spice-devel] [PATCH spice-gtk v4 17/29] fixup! usb-redir: enable redirection of emulated CD drive

Victor Toso victortoso at redhat.com
Tue Aug 27 12:28:47 UTC 2019


On Tue, Aug 27, 2019 at 10:22:34AM +0100, Frediano Ziglio wrote:
> Minor styles, spaces, double end of statement.
> ---
>  src/usb-device-cd.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c
> index 2234289c..2f421c42 100644
> --- a/src/usb-device-cd.c
> +++ b/src/usb-device-cd.c
> @@ -86,7 +86,7 @@ struct SpiceUsbEmulatedDevice {
>      struct BufferedBulkRead read_bulk[MAX_BULK_IN_REQUESTS];
>      /* according to USB MSC spec */
>      uint16_t serial[12];
> -    uint8_t  max_lun_index;
> +    uint8_t max_lun_index;
>  };
>  
>  typedef struct SpiceUsbEmulatedDevice UsbCd;
> @@ -530,7 +530,7 @@ static void usb_cd_control_request(UsbCd *device,
>              // returning one byte
>              if (h->length) {
>                  h->length = 1;
> -                h->status = usb_redir_success;;
> +                h->status = usb_redir_success;
Acked-by: Victor Toso <victortoso at redhat.com>
>                  *buffer = &device->max_lun_index;
>              }
>              break;
> -- 
> 2.20.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190827/b19bf52b/attachment-0001.sig>


More information about the Spice-devel mailing list