Thread (16 messages) 16 messages, 5 authors, 2011-11-14

RE: [PATCH 1/1] Staging: hv: Move the mouse driver out of staging

flat view

From: KY Srinivasan <kys@microsoft.com>
Date: 2011-11-02 23:04:39
Also in: lkml

-----Original Message-----
From: Jesper Juhl [mailto:jj@chaosbits.net]
Sent: Wednesday, November 02, 2011 6:59 PM
To: Dan Carpenter
Cc: KY Srinivasan; dmitry.torokhov@gmail.com; jkosina@suse.cz;
gregkh@suse.de; ohering@suse.com; linux-kernel@vger.kernel.org;
virtualization@lists.osdl.org; joe@perches.com; devel@linuxdriverproject.org
Subject: Re: [PATCH 1/1] Staging: hv: Move the mouse driver out of staging

On Sat, 29 Oct 2011, Dan Carpenter wrote:
quoted
On Sat, Oct 29, 2011 at 12:54:34AM +0200, Jesper Juhl wrote:
quoted
quoted
+			default:
+				pr_err("unhandled packet type %d, tid %llx len
%d\n",
quoted
quoted
quoted
+				   desc->type,
+				   req_id,
+				   bytes_recvd);
Why not:

                                pr_err("unhandled packet type %d, tid %llx
                                       len %d\n", desc->type, req_id, bytes_recvd);
Because then the printk would be messed up?  Your final printed
string would look like:

"unhandled packet type %d, tid %llx
                                       len %d\n"

Don't break strings up across lines because it breaks grep.  If K. Y.
wants to put all the parameters on one line instead of three that
would probably be better, but in the end who cares?
Right, so I obviously "fat fingered" that and should have read my email
once more before sending. *But* the point really was just the "put all the
parameters on one line rather than 3" bit...

As for who cares; well, I cared enough to actually read the patch and send
a reply, and I thought we needed more reviewers... When I review something
I comment on everything I spot from bugs to trivial stuff - then it is
up to the recipient to pick the things they want to address from the
reply..
I am sure I will have to re-spin this. I will take care of it then.


Regards,

K. Y
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help