From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg KH) Date: Sun, 9 Dec 2018 20:40:29 +0100 Subject: [PATCH] staging: erofs: Add braces to do-while statements In-Reply-To: References: <20181209155900.10164-1-laumann.thomas@gmail.com> <20181209162007.GA22432@kroah.com> Message-ID: <20181209194029.GA31163@kroah.com> On Sun, Dec 09, 2018@09:27:01AM -0800, Joe Perches wrote: > On Sun, 2018-12-09@17:20 +0100, Greg KH wrote: > > On Sun, Dec 09, 2018@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 > > by about a 20:1 ratio. Sparse is spitting out coding style complaints now?