Hi, On Thu, Oct 11, 2012 at 07:02:07PM -0700, Kuninori Morimoto wrote: > 1st pos of __usbhs_for_each_pipe() was wrong. > Each pipe were pipe0, pipe2, pipe3 ... > This patch modifies it. > patch looks correct but I'm sure you can do much better on this commit log. cheers > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> > --- > drivers/usb/renesas_usbhs/pipe.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/renesas_usbhs/pipe.h b/drivers/usb/renesas_usbhs/pipe.h > index 08786c0..3d80c7b 100644 > --- a/drivers/usb/renesas_usbhs/pipe.h > +++ b/drivers/usb/renesas_usbhs/pipe.h > @@ -54,7 +54,7 @@ struct usbhs_pipe_info { > * pipe list > */ > #define __usbhs_for_each_pipe(start, pos, info, i) \ > - for (i = start, pos = (info)->pipe; \ > + for (i = start, pos = (info)->pipe + i; \ > i < (info)->size; \ > i++, pos = (info)->pipe + i) > > -- > 1.7.9.5 > -- balbi
Attachment:
signature.asc
Description: Digital signature