Re: [Qemu-devel] [PATCH] checkpatch.pl: add common glib defines to typelist

2018-04-25 Thread Peter Xu
On Wed, Apr 25, 2018 at 08:08:45AM +0200, Markus Armbruster wrote: > Peter Xu writes: > > > Otherwise it can warn this: > > > > ERROR: space prohibited between function name and open parenthesis '(' > > > > When with things like this: > > > > typedef gboolean

Re: [Qemu-devel] [PATCH] checkpatch.pl: add common glib defines to typelist

2018-04-25 Thread Markus Armbruster
Peter Xu writes: > Otherwise it can warn this: > > ERROR: space prohibited between function name and open parenthesis '(' > > When with things like this: > > typedef gboolean (*it_tree_iterator)(ITValue start, ITValue end); > > CC: Paolo Bonzini > CC:

[Qemu-devel] [PATCH] checkpatch.pl: add common glib defines to typelist

2018-04-24 Thread Peter Xu
Otherwise it can warn this: ERROR: space prohibited between function name and open parenthesis '(' When with things like this: typedef gboolean (*it_tree_iterator)(ITValue start, ITValue end); CC: Paolo Bonzini CC: Stefan Hajnoczi CC: "Daniel P.