From: BrillyWu <brillywu@gmail.com> To: Jan Kiszka <jan.kiszka@web.de> Cc: Blue Swirl <blauwirbel@gmail.com>, BrillyWu@viatech.com.cn, avi@redhat.com, mtosatti@redhat.com, qemu-devel@nongnu.org, mst@redhat.com, KaryJin@viatech.com.cn, kvm@vger.kernel.org Subject: Re: [PATCH uq/master V2] kvm: Add CPUID support for VIA CPU Date: Tue, 31 May 2011 16:22:59 +0800 [thread overview] Message-ID: <BANLkTimbpXu+bhgn4CCUZ0Ls7Q=QnxNHZw@mail.gmail.com> (raw) In-Reply-To: <4DE49DB7.30600@web.de> > >> Blue, this does not trigger the missing braces warning: > > > > Do you mean the bug is that it can not trigger missing > braces warining? > > The script fails to detect missing braces as marked below. > > > It seems that there is no missing braces in my patch, but some > > unnecessary braces. > > There are no unnecessary braces according to QEMU coding style. Oh, I see. Thank you! > >> + index = env->cpuid_xlevel; > >> + } > >> + } else > >> + index = env->cpuid_xlevel; > > This should be: > > } else { > index = ... > } > > >> + } > > Nope, see above. It looks that I should add the missing braces. > > > BTW, I have submited a patch v3 a few minutes before withou > fixing up > > the braces, and I have tested it with my mail client this > time, so it > > could be OK now. > > Yes, your mail client works fine as far as I can see. Yes, you are right. It seems to be the problem of my editor. I'll check whether other places need any brace, and then send it to the patch v3 thread.
WARNING: multiple messages have this Message-ID (diff)
From: BrillyWu <brillywu@gmail.com> To: Jan Kiszka <jan.kiszka@web.de> Cc: kvm@vger.kernel.org, KaryJin@viatech.com.cn, mst@redhat.com, mtosatti@redhat.com, BrillyWu@viatech.com.cn, qemu-devel@nongnu.org, Blue Swirl <blauwirbel@gmail.com>, avi@redhat.com Subject: Re: [Qemu-devel] [PATCH uq/master V2] kvm: Add CPUID support for VIA CPU Date: Tue, 31 May 2011 16:22:59 +0800 [thread overview] Message-ID: <BANLkTimbpXu+bhgn4CCUZ0Ls7Q=QnxNHZw@mail.gmail.com> (raw) In-Reply-To: <4DE49DB7.30600@web.de> > >> Blue, this does not trigger the missing braces warning: > > > > Do you mean the bug is that it can not trigger missing > braces warining? > > The script fails to detect missing braces as marked below. > > > It seems that there is no missing braces in my patch, but some > > unnecessary braces. > > There are no unnecessary braces according to QEMU coding style. Oh, I see. Thank you! > >> + index = env->cpuid_xlevel; > >> + } > >> + } else > >> + index = env->cpuid_xlevel; > > This should be: > > } else { > index = ... > } > > >> + } > > Nope, see above. It looks that I should add the missing braces. > > > BTW, I have submited a patch v3 a few minutes before withou > fixing up > > the braces, and I have tested it with my mail client this > time, so it > > could be OK now. > > Yes, your mail client works fine as far as I can see. Yes, you are right. It seems to be the problem of my editor. I'll check whether other places need any brace, and then send it to the patch v3 thread.
next prev parent reply other threads:[~2011-05-31 8:22 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-05-10 8:02 [PATCH uq/master V2] kvm: Add CPUID support for VIA CPU BrillyWu 2011-05-10 8:02 ` [Qemu-devel] " BrillyWu 2011-05-11 11:50 ` Avi Kivity 2011-05-11 11:50 ` [Qemu-devel] " Avi Kivity 2011-05-28 10:28 ` Jan Kiszka 2011-05-28 10:28 ` [Qemu-devel] " Jan Kiszka 2011-05-28 16:20 ` Jan Kiszka 2011-05-28 16:20 ` [Qemu-devel] " Jan Kiszka 2011-05-30 4:02 ` BrillyWu 2011-05-30 4:02 ` [Qemu-devel] " BrillyWu 2011-05-30 7:40 ` BrillyWu 2011-05-30 7:40 ` [Qemu-devel] " BrillyWu 2011-05-30 7:47 ` Jan Kiszka 2011-05-30 7:47 ` [Qemu-devel] " Jan Kiszka 2011-05-30 8:59 ` BrillyWu 2011-05-30 8:59 ` [Qemu-devel] " BrillyWu 2011-05-30 10:45 ` Jan Kiszka 2011-05-30 10:45 ` [Qemu-devel] " Jan Kiszka 2011-05-31 1:25 ` BrillyWu 2011-05-31 1:25 ` [Qemu-devel] " BrillyWu 2011-05-31 6:11 ` Jan Kiszka 2011-05-31 6:11 ` [Qemu-devel] " Jan Kiszka 2011-05-31 7:39 ` BrillyWu 2011-05-31 7:39 ` [Qemu-devel] " BrillyWu 2011-05-31 7:50 ` Jan Kiszka 2011-05-31 7:50 ` [Qemu-devel] " Jan Kiszka 2011-05-31 8:22 ` BrillyWu [this message] 2011-05-31 8:22 ` BrillyWu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='BANLkTimbpXu+bhgn4CCUZ0Ls7Q=QnxNHZw@mail.gmail.com' \ --to=brillywu@gmail.com \ --cc=BrillyWu@viatech.com.cn \ --cc=KaryJin@viatech.com.cn \ --cc=avi@redhat.com \ --cc=blauwirbel@gmail.com \ --cc=jan.kiszka@web.de \ --cc=kvm@vger.kernel.org \ --cc=mst@redhat.com \ --cc=mtosatti@redhat.com \ --cc=qemu-devel@nongnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.