← Back to team overview

ac100 team mailing list archive

Re: [PATCH] staging: nvec: coding style fixes / add copyrightnotice

 

On Sunday 24 July 2011 23:09:02 Joe Perches wrote:
> On Sun, 2011-07-24 at 21:56 +0200, Marc Dietrich wrote:
> > This patch fixes coding style and adds copyright notices.
> 
> More trivia:
> > @@ -49,47 +59,45 @@ static int ps2_sendcommand(struct serio *ser_dev,
> > unsigned char cmd)
> 
> []
> 
> > +		else if (msg[1] != 2) {	/* !ack */
> > +			printk("nvec_ps2: unhandled mouse event ");
> > +			for (i = 0; i <= (msg[1] + 1); i++)
> > +				printk("%02x ", msg[i]);
> > +			printk(".\n");
> 
> 			print_hex_dump(KERN_ERR, "unhandled mouse event: ",
> 				       DUMP_PREFIX_NONE, 16, 1,
> 				       msg, msg[1] + 2, true);

ok, fixed this one and also another occurrence in nvec.c.

Thanks

Marc


References