Re: [PATCH v6 15/19] usb: phy: msm: Fix PTS definitions for MSM USB controller

From: Ivan T. Ivanov
Date: Wed Apr 23 2014 - 09:54:10 EST


On Wed, 2014-04-23 at 17:45 +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 23-04-2014 17:35, Ivan T. Ivanov wrote:
>
> >>>> --- a/include/linux/usb/msm_hsusb_hw.h
> >>>> +++ b/include/linux/usb/msm_hsusb_hw.h
> >>>> @@ -31,8 +31,9 @@
> >>>> #define USB_USBINTR (MSM_USB_BASE + 0x0148)
> >>>>
> >>>> #define PORTSC_PHCD (1 << 23) /* phy suspend mode */
> >>>> -#define PORTSC_PTS_MASK (3 << 30)
> >>>> -#define PORTSC_PTS_ULPI (3 << 30)
> >>>> +#define PORTSC_PTS_MASK (3 << 30)
> >>>> +#define PORTSC_PTS_ULPI (2 << 30)
> >>>> +#define PORTSC_PTS_SERIAL (3 << 30)
>
> >>> Please use tabs, not spaces here.
>
> >> Thanks, will fix and resend.
>
> > I answered too quickly. File contain tabs and spaces for
> > indentation of definitions.
>
> You mean tabs and spaces on one line? Or sometimes tabs, sometimes spaces?

In this particular hunk, original code uses spaces.

Ivan

>
> > Should I still use tabs here?
>
> If they are already used, why not?
>
> > Regards,
> > Ivan
>
> WBR, Sergei

--
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/