When trying to build the Fedora devel kernel, I get the build error below. The *_frame_Q members of the fhci endpoint structure are indeed declared as 'struct kfifo' and not pointers to such. The NULL checks in the fhci_ep0_free function seem odd when you take that into account.
Thoughts on a fix? If it's not fixed soon, I'll have to disable it in the .config. josh In file included from drivers/usb/host/fhci-hcd.c:33: drivers/usb/host/fhci.h: In function 'cq_get': drivers/usb/host/fhci.h:520: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result In file included from drivers/usb/host/fhci-hub.c:28: drivers/usb/host/fhci.h: In function 'cq_get': drivers/usb/host/fhci.h:520: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result In file included from drivers/usb/host/fhci-q.c:25: drivers/usb/host/fhci.h: In function 'cq_get': drivers/usb/host/fhci.h:520: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result In file included from drivers/usb/host/fhci-mem.c:24: drivers/usb/host/fhci.h: In function 'cq_get': drivers/usb/host/fhci.h:520: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result In file included from drivers/usb/host/fhci-tds.c:25: drivers/usb/host/fhci.h: In function 'cq_get': drivers/usb/host/fhci.h:520: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result drivers/usb/host/fhci-tds.c: In function 'fhci_ep0_free': drivers/usb/host/fhci-tds.c:108: error: used struct type value where scalar is required drivers/usb/host/fhci-tds.c:118: error: used struct type value where scalar is required drivers/usb/host/fhci-tds.c:128: error: used struct type value where scalar is required make[3]: *** [drivers/usb/host/fhci-tds.o] Error 1 make[2]: *** [drivers/usb/host] Error 2 make[1]: *** [drivers/usb] Error 2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev