From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG7Gs-0003Sr-G6 for qemu-devel@nongnu.org; Tue, 27 Jan 2015 09:37:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG7Gn-00054c-TY for qemu-devel@nongnu.org; Tue, 27 Jan 2015 09:37:38 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:31079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG7Gn-00054K-Ky for qemu-devel@nongnu.org; Tue, 27 Jan 2015 09:37:33 -0500 Message-ID: <54C7A29A.9000608@huawei.com> Date: Tue, 27 Jan 2015 15:37:14 +0100 From: Claudio Fontana MIME-Version: 1.0 References: <1421857131-18539-1-git-send-email-agraf@suse.de> <1421857131-18539-4-git-send-email-agraf@suse.de> <54C1171D.1000500@huawei.com> <54C11CAD.6030109@suse.de> <54C75957.9070809@huawei.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 3/4] arm: Add PCIe host bridge in virt machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Rob Herring , "Michael S. Tsirkin" , QEMU Developers , Ard Biesheuvel , Alvise Rigo , Stuart Yoder , Alexander Graf On 27.01.2015 11:09, Peter Maydell wrote: > On 27 January 2015 at 09:24, Claudio Fontana wrote: >> On 22.01.2015 16:52, Alexander Graf wrote: >>> On 22.01.15 16:28, Claudio Fontana wrote: >>>> Alex wrote; >>>>> + for (devfn = 0; devfn <= 0x18; devfn+=0x8) { >>>> >>>> devfn += 0x8 (spaces) >>> >>> Yeah, I had it like that and it looked uglier. I guess it's a matter of >>> personal preference? >> >> You don't have coding standards for this ? > > Not formal ones, but (a) I think += should have spaces aronud > it and (b) I'm a bit surprised if checkpatch doesn't catch > this (it certainly attempts to...) > > -- PMM It does: ERROR: spaces required around that '+=' (ctx:VxV) #167: FILE: hw/arm/virt.c:571: + for (devfn = 0; devfn <= 0x18; devfn+=0x8) { ^ Claudio