mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wen Gu <guwen@linux.alibaba.com>
To: Jeff Layton <jlayton@kernel.org>,
	viro@zeniv.linux.org.uk, bfields@fieldses.org
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	dust.li@linux.alibaba.com, tonylu@linux.alibaba.com,
	xuanzhuo@linux.alibaba.com, guwen@linux.alibaba.com
Subject: Re: [PATCH] fasync: Use tabs instead of spaces in code indent
Date: Wed, 10 Nov 2021 19:38:58 +0800	[thread overview]
Message-ID: <a7036706-6262-9278-4228-0ad15fdd7394@linux.alibaba.com> (raw)
In-Reply-To: <70778cdf726d59d852a3b1262760fb71574f0e91.camel@kernel.org>



On 2021/11/10 6:58 pm, Jeff Layton wrote:
> On Wed, 2021-11-10 at 14:29 +0800, Wen Gu wrote:
>> When I investigated about fasync_list in SMC network subsystem,
>> I happened to find that here uses spaces instead of tabs in code
>> indent and fix this by the way.
>>
>> Fixes: f7347ce4ee7c ("fasync: re-organize fasync entry insertion to
>> allow it under a spinlock")
>> Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
>> Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
>> ---
>>   fs/fcntl.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/fs/fcntl.c b/fs/fcntl.c
>> index 9c6c6a3..36ba188 100644
>> --- a/fs/fcntl.c
>> +++ b/fs/fcntl.c
>> @@ -927,7 +927,7 @@ void fasync_free(struct fasync_struct *new)
>>    */
>>   struct fasync_struct *fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new)
>>   {
>> -        struct fasync_struct *fa, **fp;
>> +	struct fasync_struct *fa, **fp;
>>   
>>   	spin_lock(&filp->f_lock);
>>   	spin_lock(&fasync_lock);
> 
> Hi Wen,
> 
> I usually don't take patches that just fix whitespace like this. The
> reason is that these sorts of patches tend to make backporting difficult
> as they introduce merge conflicts for no good reason.
> 
> When you're making substantial changes in an area, then please do go
> ahead and fix up whitespace in the same area, but patches that just fix
> up whitespace are more trouble than they are worth.
> 
> Sorry,
> 

Thank you for the reminding. I didn't realize my unintentional action 
would bring trouble to the backport. I will keep this in mind.

Thanks,
Wen Gu

      reply	other threads:[~2021-11-10 11:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  6:29 Wen Gu
2021-11-10 10:58 ` Jeff Layton
2021-11-10 11:38   ` Wen Gu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a7036706-6262-9278-4228-0ad15fdd7394@linux.alibaba.com \
    --to=guwen@linux.alibaba.com \
    --cc=bfields@fieldses.org \
    --cc=dust.li@linux.alibaba.com \
    --cc=jlayton@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tonylu@linux.alibaba.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®