Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2798373imu; Sun, 9 Dec 2018 09:31:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/UCWAZqr5TVg5quIhNs/YU0+B1rR8gIxnwxYAn/54Uhngn32qXuKPXcjtifVoqTvzDlDtMO X-Received: by 2002:a63:d005:: with SMTP id z5mr8307963pgf.64.1544376661576; Sun, 09 Dec 2018 09:31:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544376661; cv=none; d=google.com; s=arc-20160816; b=NKxe5RTZvgdBCDQGQjEgzG36VdksB6t4bg7okXTL2J7V1lRXLYTH67cqurf+mPZGZc nl34ZKa7RtBMsrj3G8OWcGEbjXDY4uEZHf0agX94w3khG/pmjNeMr7nP2w7x57GVg3XW wUELY7IKc0xM8oOV+2OEmMFypJ1A/UR6kFBZDzY/i30+4EQVVxfGNtBIFpmqTIMjryQq cH2Qta+ES0j7dIMWaPIRc48lC2qkzRBEfLHXzUx+jiC8GOKOu4R/w7PR7LaWFo7aUuuA 3prmR28Gaij2yiZ0flRFUYWiHwDFkyx5Q505jp8RMKwPyNEFXIZxWl/Q3S6ODsQppJC5 kUfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=9vvSgXUOmgY4OZiLBSGUHylx3kSnSCj9OPkU8UX2YsI=; b=JpMOdvV58wRFUxzaXvKL6auXlbvoRD68Y+3ZS2M0jarvWtQuThwx5/jkX76nJlrxlo 8DyWT5YS0goVZkfHCVV5ofl+RVxLpOyChR2KZIhZ2DtLbo6jx+EOKUEOtlF4DXg4ps1v RwKdy4BIMu6jc+pu9wtUWKiir5h2gUn1FzlxZez7RgJCLMlVj0ePWGPbsaVHr2Rppc8+ J694b+YMHAX9oDt01n4cFF7DOPJEu+1/dCPjJb+wLr6DATQo0L9uFr4lTGGHZ7hxaW9d g5NMafvU5cryklWc3YPsNzjXUUx2mdYNai3qaDUwAqeASzSyBTdyPbPFlvO4M+0ULT7Z SwMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si8422079pft.177.2018.12.09.09.30.45; Sun, 09 Dec 2018 09:31:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726219AbeLIRaG (ORCPT + 99 others); Sun, 9 Dec 2018 12:30:06 -0500 Received: from smtprelay0213.hostedemail.com ([216.40.44.213]:35997 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726096AbeLIRaG (ORCPT ); Sun, 9 Dec 2018 12:30:06 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 4633E837F243; Sun, 9 Dec 2018 17:30:05 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:599:960:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1567:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3865:3867:3871:3872:4250:4321:5007:6119:7903:10004:10400:10848:11232:11658:11914:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21627:30054:30083:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:28,LUA_SUMMARY:none X-HE-Tag: peace32_57e9dffde8d3f X-Filterd-Recvd-Size: 1340 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf15.hostedemail.com (Postfix) with ESMTPA; Sun, 9 Dec 2018 17:30:03 +0000 (UTC) Message-ID: Subject: Re: [PATCH] staging: erofs: Add braces to do-while statements From: Joe Perches To: Greg KH , Thomas Jespersen Cc: gaoxiang25@huawei.com, yuchao0@huawei.com, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Sun, 09 Dec 2018 09:30:02 -0800 In-Reply-To: <20181209162007.GA22432@kroah.com> References: <20181209155900.10164-1-laumann.thomas@gmail.com> <20181209162007.GA22432@kroah.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (mrph. premature send) On Sun, 2018-12-09 at 17:20 +0100, Greg KH wrote: > On Sun, Dec 09, 2018 at 04:59:00PM +0100, Thomas Jespersen wrote: > > This fixes warning reported by sparse (with -Wsparse-all). > > Why is sparse warning about this? Probably because it's the kernel preferred style to use single statement do { ; } while (); over do ; while (); by about a 20:1 ratio.