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

2018-04-27 Thread Paolo Bonzini
On 25/04/2018 09:01, Peter Xu wrote: > 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 >

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

2018-04-27 Thread Stefan Hajnoczi
On Wed, Apr 25, 2018 at 03:01:03PM +0800, Peter Xu wrote: > 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

Re: [Qemu-devel] [PATCH v2] 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 v2] checkpatch.pl: add common glib defines to typelist

2018-04-25 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.