2023-08-19 13:15:23

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH v1] drivers: usb: Replaces spaces with tabs for indentation.

On Wed, Aug 16, 2023 at 02:14:39AM +0530, Atul Kumar Pant wrote:
> This patch fixes following checkpatch.pl issue:
> ERROR: code indent should use tabs where possible
>
> Signed-off-by: Atul Kumar Pant <[email protected]>
> ---
> drivers/usb/core/hub.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

You didn't mention "hub" in the subject?

Again, please start out by doing work in drivers/staging/ to learn how
to write good patches, before venturing out into other areas of the
kernel. Fixing up whitespace issues in random kernel parts is not
always encouraged.

thanks,

greg k-h


2023-08-19 23:49:09

by Atul Kumar Pant

[permalink] [raw]
Subject: Re: [PATCH v1] drivers: usb: Replaces spaces with tabs for indentation.

On Tue, Aug 15, 2023 at 11:08:02PM +0200, Greg KH wrote:
> On Wed, Aug 16, 2023 at 02:14:39AM +0530, Atul Kumar Pant wrote:
> > This patch fixes following checkpatch.pl issue:
> > ERROR: code indent should use tabs where possible
> >
> > Signed-off-by: Atul Kumar Pant <[email protected]>
> > ---
> > drivers/usb/core/hub.c | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
>
> You didn't mention "hub" in the subject?
>
> Again, please start out by doing work in drivers/staging/ to learn how
> to write good patches, before venturing out into other areas of the
> kernel. Fixing up whitespace issues in random kernel parts is not
> always encouraged.

Sure Greg, I'll check /drivers/staging/ and will avoid doing whitespace
changes in random kernel parts.

>
> thanks,
>
> greg k-h