From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8A70C43334 for ; Mon, 3 Sep 2018 01:49:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6B4B72077C for ; Mon, 3 Sep 2018 01:49:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B4B72077C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727397AbeICGHf (ORCPT ); Mon, 3 Sep 2018 02:07:35 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:43579 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725901AbeICGHf (ORCPT ); Mon, 3 Sep 2018 02:07:35 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 4E1BC33111A13; Mon, 3 Sep 2018 09:49:41 +0800 (CST) Received: from [127.0.0.1] (10.134.22.195) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.399.0; Mon, 3 Sep 2018 09:49:36 +0800 Subject: Re: [PATCH 6/6] staging: erofs: fix 1 warning and 9 checks To: Pavel Zemlyanoy , Gao Xiang CC: Greg Kroah-Hartman , , , , References: <1535642042-5336-1-git-send-email-zemlyanoy@ispras.ru> <1535642042-5336-6-git-send-email-zemlyanoy@ispras.ru> From: Chao Yu Message-ID: <3c43c174-c805-32e2-ac8e-504604ef29ab@huawei.com> Date: Mon, 3 Sep 2018 09:49:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1535642042-5336-6-git-send-email-zemlyanoy@ispras.ru> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/8/30 23:14, Pavel Zemlyanoy wrote: > This patch does not change the logic, it only > corrects the formatting and checkpatch checks by > braces {} should be used on all arms of this statement, > unbalanced braces around else statement and warning by > braces {} are not necessary for any arm of this statement. > > The patch fixes 9 checks of type: > "Check: braces {} should be used on all arms of this statement"; > "Check: Unbalanced braces around else statement"; > > and 1 warning of type: > "WARNING: braces {} are not necessary for any arm of this statement". > > Signed-off-by: Pavel Zemlyanoy Reviewed-by: Chao Yu Thanks,