Re: [PATCH] ALSA: PCM: Fix codestyle issues in pcm_native.c

From: Takashi Iwai
Date: Wed May 10 2023 - 04:06:26 EST

On Wed, 10 May 2023 09:55:18 +0200,
Ivan Orlov wrote:
> On 5/10/23 11:48, Greg KH wrote:
> > - Your patch did many different things all at once, making it difficult
> > to review. All Linux kernel patches need to only do one thing at a
> > time. If you need to do multiple things (such as clean up all coding
> > style issues in a file/driver), do it in a sequence of patches, each
> > one doing only one thing. This will make it easier to review the
> > patches to ensure that they are correct, and to help alleviate any
> > merge issues that larger patches can cause.
> >
> > If you wish to discuss this problem further, or you have questions about
> > how to resolve this issue, please feel free to respond to this email and
> > Greg will reply once he has dug out from the pending patches received
> > from other developers.
> >
> > thanks,
> >
> > greg k-h's patch email bot
> Greg's Bot is right, it will be better as a sequence of patches. Sorry
> for bothering!

Also, if it's only about white space fix or some indent level issues,
that could be rather more noise and disturbs the git change history,
e.g. it makes difficult to find out the real code changes via git
blame, especially it touches a huge amount of lines like this.

That said, I'm not going to take such "coding style cleanup" patch
blindly. If it's associated with other real fix or enhancement, I'll
happily take it. Otherwise, I'd rather leave it.