Re: [PATCH] usb: gadget: udc: Fix assignment of 0/1 to bool variables

From: Felipe Balbi
Date: Tue Oct 22 2019 - 02:11:32 EST



Hi,

Michal Simek <michal.simek@xxxxxxxxxx> writes:
>> @@ -1952,9 +1952,9 @@ static void xudc_nonctrl_ep_handler(struct xusb_udc *udc, u8 epnum,
>> ep = &udc->ep[epnum];
>> /* Process the End point interrupts.*/
>> if (intrstatus & (XUSB_STATUS_EP0_BUFF1_COMP_MASK << epnum))
>> - ep->buffer0ready = 0;
>> + ep->buffer0ready = false;
>> if (intrstatus & (XUSB_STATUS_EP0_BUFF2_COMP_MASK << epnum))
>> - ep->buffer1ready = 0;
>> + ep->buffer1ready = false;
>>
>> if (list_empty(&ep->queue))
>> return;
>>
>
> Acked-by: Michal Simek <michal.simek@xxxxxxxxxx>

I don't have the original patch, sorry. Care to resend with Acks?

--
balbi