[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/7] tcg: allocate TB structs preceding trans
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/7] tcg: allocate TB structs preceding translate |
Date: |
Fri, 9 Jun 2017 16:16:22 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Jun 09, 2017 at 12:58:17 -0700, Richard Henderson wrote:
> >>=== OUTPUT BEGIN ===
> >>Checking PATCH 1/7: util: add cacheinfo...
> >>ERROR: do not initialise globals to 0 or NULL
> >>#149: FILE: util/cacheinfo.c:11:
> >>+int qemu_icache_linesize = 0;
> >>
> >>ERROR: do not initialise globals to 0 or NULL
> >>#150: FILE: util/cacheinfo.c:12:
> >>+int qemu_dcache_linesize = 0;
>
> These are bogus checkpatch warnings. If we really want this, we should also
> use -fno-common. But without that, there is a real difference between
> initialized and non-initialized global variables.
>
> >>
> >>ERROR: space prohibited after that '&&' (ctx:ExW)
> >>#191: FILE: util/cacheinfo.c:53:
> >>+ && buf[i].Cache.Level == 1) {
> >> ^
>
> This is also bogus. I have no idea what it's attempting to detect.
I think this one is just enforcing a certain coding style convention;
"A &&\nB" will pass but "A\n&&B" won't.
E.
- [Qemu-devel] [PATCH v5 1/7] util: add cacheinfo, (continued)
- [Qemu-devel] [PATCH v5 1/7] util: add cacheinfo, Richard Henderson, 2017/06/09
- [Qemu-devel] [PATCH v5 4/7] tcg/arm: Use indirect branch for goto_tb, Richard Henderson, 2017/06/09
- [Qemu-devel] [PATCH v5 2/7] tcg: allocate TB structs before the corresponding translated code, Richard Henderson, 2017/06/09
- [Qemu-devel] [PATCH v5 5/7] tcg/arm: Remove limit on code buffer size, Richard Henderson, 2017/06/09
- [Qemu-devel] [PATCH v5 6/7] tcg/arm: Try pc-relative addresses for movi, Richard Henderson, 2017/06/09
- [Qemu-devel] [PATCH v5 7/7] tcg/arm: Use ldr (literal) for goto_tb, Richard Henderson, 2017/06/09
- Re: [Qemu-devel] [PATCH v5 0/7] tcg: allocate TB structs preceding translate, no-reply, 2017/06/09
- Re: [Qemu-devel] [PATCH v5 0/7] tcg: allocate TB structs preceding translate, Emilio G. Cota, 2017/06/09