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

Felipe Balbi
2019-10-22T06:11:26Z

Hi,

Michal Simek <michal.simek@xilinx.com> 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@xilinx.com>

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

--
balbi