Re: [Qemu-devel] [PATCH v2 for-2.2 0/8] about Yoda conditions

2014-07-31 Thread Gonglei (Arei)
Hi, > Subject: Re: [PATCH v2 for-2.2 0/8] about Yoda conditions > > On 07/31/2014 08:32 PM, arei.gong...@huawei.com wrote: > > From: Gonglei > > > > $WHATEVER: don't use 'Yoda conditions' > > > > 'Yoda conditions' are not part of idiomatic QEMU coding > > style, so rewrite them in the more usual

Re: [Qemu-devel] [PATCH v2 for-2.2 0/8] about Yoda conditions

2014-07-31 Thread Eric Blake
On 07/31/2014 08:32 PM, arei.gong...@huawei.com wrote: > From: Gonglei > > $WHATEVER: don't use 'Yoda conditions' > > 'Yoda conditions' are not part of idiomatic QEMU coding > style, so rewrite them in the more usual order. > > v2: > - add more specific commit messages suggested by PMM, thanks

[Qemu-devel] [PATCH v2 for-2.2 0/8] about Yoda conditions

2014-07-31 Thread arei.gonglei
From: Gonglei $WHATEVER: don't use 'Yoda conditions' 'Yoda conditions' are not part of idiomatic QEMU coding style, so rewrite them in the more usual order. v2: - add more specific commit messages suggested by PMM, thanks. - introduce section of conditional statement to CODING_STYLE. Gongle