Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp45597pxb; Wed, 1 Sep 2021 21:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9ZON3l1wyztX1M/Hnudg/iHrm9DgIfsl184Ug0ejvmHQabd2AtHtNwwOaqru34Ep1dMMg X-Received: by 2002:a17:906:417:: with SMTP id d23mr1422973eja.383.1630556707453; Wed, 01 Sep 2021 21:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630556707; cv=none; d=google.com; s=arc-20160816; b=M89DiRkk+pI9O4JCe6x3mob2i7A2ajv6PzENVPtNfMIFcSMavYeqrsykzfHGckcnhw uOv6Pe8i/nMfVGtpX2mkDRFV0a8YhpKD7yogTakM6i3nnLdwaSL3LO7vTBVx/L9nIGF8 ig5rTQX+E7p3na0fh1vSpood8Tu9NWrVcv1qGF37onBSnm7P3TknOIKGdw1RgmibbBJf nV7QX1twKTzWhE6vIV9Fa5zMs6KX7EeJIzbiMv3RPc30ZmH4VZh8mSaHe1gxzvbAHkwQ 3AgaNuEqjY9dnlIU/6LY6xYLirgCB8HpmIX2FVCRW9pK4peARUO/FVQKDGg52sJ8KT5n OeNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=tqcv0s+uDTjL+Ow6LbHTPdndDe2tBYMTpcfsQCWYq+g=; b=Ujf80SnQB1qIiRigaSGtSa6MbTYOo8/NB6Oz/bw4hJI5LAYavVF+a7XMa2dKAN76dc cCSrxWuE4h+9xAJYGnLUn/hW6OvRIhiHtBWb637VvDnEN4swwpni5pCT5JUjqtElBeSn M2ik+DUXYQwj8jqaHgWS8/YF8RgtrZXjoC5SVyaSF/ArF3uLatsgX3N6b9YlSwfpuft+ suzIrk5zT125uq0TicI/udc/FPYNgd23T4nohaIDiXQBBLG5XKHwS9T/zEczdWaM8w0L ZlL7glZMduh0SJDigs6XIZ8XymZgbtzcPKTT+WUD4Bq9MdvfT2jfMK6wy9RCrKrsEX+T WnGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si912873ede.378.2021.09.01.21.24.17; Wed, 01 Sep 2021 21:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbhIBEXU (ORCPT + 99 others); Thu, 2 Sep 2021 00:23:20 -0400 Received: from smtprelay0010.hostedemail.com ([216.40.44.10]:44804 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229536AbhIBEXT (ORCPT ); Thu, 2 Sep 2021 00:23:19 -0400 Received: from omf05.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 6D5B1299A1; Thu, 2 Sep 2021 04:22:21 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA id 94D59B2795; Thu, 2 Sep 2021 04:22:20 +0000 (UTC) Message-ID: <1d303f4553e67abee4f0c4cdc32231813a4bcb3f.camel@perches.com> Subject: Re: [PATCH 2/5] fs/ntfs3: Use consistent spacing around '+' From: Joe Perches To: Kari Argillander , Konstantin Komarov , ntfs3@lists.linux.dev Cc: linux-kernel@vger.kernel.org Date: Wed, 01 Sep 2021 21:22:19 -0700 In-Reply-To: <20210831181505.1074767-3-kari.argillander@gmail.com> References: <20210831181505.1074767-1-kari.argillander@gmail.com> <20210831181505.1074767-3-kari.argillander@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.41 X-Stat-Signature: 6ywud8xu4eygy654qqjibymws8n1m811 X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: 94D59B2795 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19sh78KRiSh5KevcMk8MxvtAdMM0b+8bpY= X-HE-Tag: 1630556540-782866 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-08-31 at 21:15 +0300, Kari Argillander wrote: > Use consistent spacing around '+' for better code reading. Checkpatch > will also be happy. I think you should remove the + instead > diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c [] > @@ -1451,7 +1451,7 @@ int ni_insert_resident(struct ntfs_inode *ni, u32 data_size, > ? attr->res.flags = RESIDENT_FLAG_INDEXED; > ? > > ? /* is_attr_indexed(attr)) == true */ > - le16_add_cpu(&ni->mi.mrec->hard_links, +1); > + le16_add_cpu(&ni->mi.mrec->hard_links, + 1); le16_add_cpu(&ni->mi.mrec->hard_links, 1);