Re: [linux-usb-devel] Still trying to understand USB Stack under Linux

2002-07-24 Thread Soewono Effendi
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

[linux-usb-devel] Still trying to understand USB Stack under Linux

2002-07-24 Thread Soewono Effendi
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) {