On Thu, Feb 13, 2014 at 11:40:17PM +0100, Egbert Eich wrote:
> On Fri, Feb 14, 2014 at 07:50:32AM +1000, Peter Hutterer wrote:
> > On Thu, Feb 13, 2014 at 02:30:20PM +0100, Egbert Eich wrote:
> > > From: Egbert Eich <e...@suse.com>
> > > 
> > > With '-Wformat-nonliteral' gcc kindly warns us that it cannot check the
> > > arguments of a scanf statement as the format string is not literal.
> > > This happens if the format string itself is pointer.
> > > Since the list of format strings only has two elements the same thing
> > > can be achieved in code directly.
> > > 
> > > Signed-off-by: Egbert Eich <e...@suse.com>
> > > ---
> > > + * @param common - set key bits, vendor_id and tablet_id
> > 
> > no dash after common
> 
> Agreed.
> 
> > 
> > > + */
> > > +static Bool get_keys_vendor_tablet_id(char *name, WacomCommonPtr common)
> > 
> > linkebreak after the return type please
> 
> Peter, please check the rest of the file. This is not done anywhere 
> else there.
> 
> If you insist on linebreaks after the return type I will supply a 
> separate patch changing it *everywhere* in this file.
> 
> > > -static ISDV4ModelDesc*
> > > -model_from_sysfs(const InputInfoPtr pInfo, int fd, int *id)
> > > +static Bool get_sysfs_id(InputInfoPtr pInfo, char *buf, int buf_size)
> > 
> > linebreak after return type please
> 
> Same.

sorry, I was going on the patch context and general coding guidelines in
other projects now. General rule as usual is stick with whatever the rest of
the file does and ignore my comments where not applicable.

Cheers,
   Peter

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to