Hi,
+struct pipe_node {
- struct usb_pipe *pipe;
- struct pipe_node *next;
+};
seabios has a linked list implementation (see src/list.h). Please use that instead of rolling your own.
Otherwise the patch looks sane on a quick glance.
take care, Gerd