Skip to contentSkip to conversation

qapi: fix coding style in generated code

PATCH Luiz Capitulino 2 participants 4 messages May 5, 2014 – May 6, 2014 1 message not in the archive

lore
Share & tools
lore

Luiz Capitulino

author Applied
#1 lore raw
In reply to a message not in the archive
Quoted 11 lines · On Mon, 28 Apr 2014 15:02:35 +0800 Amos Kong <[email protected]> wrote:

Not a serious issue, but it's helpful if we can fix it.

V2: split change of scripts/qapi-visit.py to a split patch,
eat space by using a special char as Markus suggested
V3: update commitlog, update special string, fix of adding
const replace string by pattern

Amos Kong (3):
qapi: fix coding style in parameters list
qapi: add const prefix to 'char *' insider c_type()
qapi: Suppress unwanted space between type and identifier

Applied to the qmp branch.

The last conflicts with another patch I applied to my tree (both are importing re module). I fixed it myself by dropping your import.

#2 lore raw
Quoted 15 lines · On Mon, 5 May 2014 16:51:04 -0400 Luiz Capitulino <[email protected]>…
Quoted 11 lines · On Mon, 28 Apr 2014 15:02:35 +0800 Amos Kong <[email protected]> wrote:

Not a serious issue, but it's helpful if we can fix it.

V2: split change of scripts/qapi-visit.py to a split patch,
eat space by using a special char as Markus suggested
V3: update commitlog, update special string, fix of adding
const replace string by pattern

Amos Kong (3):
qapi: fix coding style in parameters list
qapi: add const prefix to 'char *' insider c_type()
qapi: Suppress unwanted space between type and identifier

Quoted 4 lines

Applied to the qmp branch.

The last conflicts with another patch I applied to my tree (both are importing re module). I fixed it myself by dropping your import.

I couldn't understand what I wrote myself :)

The last patch in this series does:

-import sys
+import sys, re

However, module re is already included by another patch in my queue. So, I dropped those two lines from the last patch in this series.

#3 lore raw
In reply to Luiz Capitulino

Il 05/05/2014 22:51, Luiz Capitulino ha scritto:

Quoted 15 lines
Quoted 11 lines · On Mon, 28 Apr 2014 15:02:35 +0800 Amos Kong <[email protected]> wrote:

Not a serious issue, but it's helpful if we can fix it.

V2: split change of scripts/qapi-visit.py to a split patch,
eat space by using a special char as Markus suggested
V3: update commitlog, update special string, fix of adding
const replace string by pattern

Amos Kong (3):
qapi: fix coding style in parameters list
qapi: add const prefix to 'char *' insider c_type()
qapi: Suppress unwanted space between type and identifier

Quoted 5 lines

Applied to the qmp branch.

The last conflicts with another patch I applied to my tree (both are importing re module). I fixed it myself by dropping your import.

Did you address my comment at
http://lists.nongnu.org/archive/html/qemu-devel/2014-04/msg04445.html
while applying, too?

Paolo

#4 lore raw
Quoted 18 lines · On Mon, 05 May 2014 23:22:05 +0200 Paolo Bonzini <[email protected]> wrote:

Il 05/05/2014 22:51, Luiz Capitulino ha scritto:

Quoted 17 lines
Quoted 11 lines · On Mon, 28 Apr 2014 15:02:35 +0800 Amos Kong <[email protected]> wrote:

Not a serious issue, but it's helpful if we can fix it.

V2: split change of scripts/qapi-visit.py to a split patch,
eat space by using a special char as Markus suggested
V3: update commitlog, update special string, fix of adding
const replace string by pattern

Amos Kong (3):
qapi: fix coding style in parameters list
qapi: add const prefix to 'char *' insider c_type()
qapi: Suppress unwanted space between type and identifier

Applied to the qmp branch.

Quoted 7 lines
Quoted 3 lines

The last conflicts with another patch I applied to my tree (both are importing re module). I fixed it myself by dropping your import.

Did you address my comment at
http://lists.nongnu.org/archive/html/qemu-devel/2014-04/msg04445.html
while applying, too?

No, I thought you were OK with the current version. If you're not then Amos will have to respin.

Amos, if you do respin please rebase on top of the qmp queue:

git://repo.or.cz/qemu/qmp-unstable.git queue/qmp