Re: [PATCH 1/1] xHCI: Adding #define values used for hub descriptor

From: Aman Deep
Date: Tue Nov 22 2011 - 23:50:16 EST


Hi Sarah,


> >
> > Also use some #defines in places where magic numbers are being used.
>
> Looks fine to me for the xHCI changes.  I copied most of the hub
> descriptor code from EHCI, so it will need the same treatment.

Okay, thanks. I will try to make some of these changes into other host
controller drivers also as
soon as I can.

>
> Acked-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>

Thanks for the ACK, Sarah.

>
> The #defines look a bit odd to me, like you're using spaces instead of
> tabs to separate the name and value, or your mail program is converting
> tabs to spaces.  Do the numbers line up for you?

Actually, both the HUB_CHAR_TTTT and HUB_CHAR_PORTIND were already using
spaces instead of tabs. I just copied them to the lines below, thats
why they still have
spaces between define and value.

But thanks for info. I will take more care about this in future.

Do you want me to make any changes in this patch ?

>
> > Signed-off-by: Aman Deep <amandeep3986@xxxxxxxxx>
> > ---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/