From mboxrd@z Thu Jan 1 00:00:00 1970 From: youngjun yoo Subject: [PATCH] fs: f2fs: Insert a space Date: Sat, 14 Jul 2018 19:38:52 +0900 Message-ID: <20180714103852.GA28458@willow72.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1feHx5-0007tn-9R for linux-f2fs-devel@lists.sourceforge.net; Sat, 14 Jul 2018 10:38:59 +0000 Received: from [210.115.226.249] (helo=willow72) by sfi-mx-2.v28.lw.sourceforge.com with esmtp (Exim 4.90_1) id 1feHx3-008Dkb-Vt for linux-f2fs-devel@lists.sourceforge.net; Sat, 14 Jul 2018 10:38:59 +0000 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: jaegeuk@kernel.org Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net clean up checkpatch error: ERROR: space required before the open parenthesis ( space required around that : Signed-off-by: willow72 --- fs/f2fs/node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 51388cf..14ed45c 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1225,7 +1225,7 @@ static struct page *__get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid, goto out_err; } page_hit: - if(unlikely(nid != nid_of_node(page))) { + if (unlikely (nid != nid_of_node (page))) { f2fs_msg(sbi->sb, KERN_WARNING, "inconsistent node block, " "nid:%lu, node_footer[nid:%u,ino:%u,ofs:%u,cpver:%llu,blkaddr:%u]", nid, nid_of_node(page), ino_of_node(page), @@ -1589,7 +1589,7 @@ int f2fs_fsync_node_pages(struct f2fs_sb_info *sbi, struct inode *inode, out: if (last_idx != ULONG_MAX) f2fs_submit_merged_write_cond(sbi, NULL, ino, last_idx, NODE); - return ret ? -EIO: 0; + return ret ? -EIO : 0; } int f2fs_sync_node_pages(struct f2fs_sb_info *sbi, -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot