Hi Johann,
thanks for your reply.
Surelly I understand what the codes
> > return !!*buf;
literally mean.
What I would like to know is, what does it suppose to do in context of USB layer.
If one follows the USB codes, then one will see that this "uhci_hub_status_data"
will be called by
Hi all,
I'm just curious if there is any particular reason to use the following code
return !!*buf;
instead of the simple
return (int) *buf;
in function "uhci_hub_status_data", file: usb/host/uhci-hub.c
static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf)
{