Thread (17 messages) 17 messages, 3 authors, 2013-01-09

Re: [Pv-drivers] [PATCH 07/12] VMCI: queue pairs implementation.

From: Dmitry Torokhov <hidden>
Date: 2013-01-09 00:28:53
Also in: lkml

Hi Greg,

On Tuesday, January 08, 2013 04:15:39 PM Greg KH wrote:
On Tue, Jan 08, 2013 at 03:54:54PM -0800, George Zhang wrote:
quoted
+/* Guest device port I/O. */
+struct PPNSet {
+	u64 num_produce_pages;
+	u64 num_consume_pages;
+	u32 *produce_ppns;
+	u32 *consume_ppns;
+	bool initialized;
+};
I know this is a private structure to the driver, so it's not that big
of a deal at all, but the naming for this is a bit odd (mixed case.)

Not a show stopper at all, but if you had run checkpatch.pl on it, it
would have warned you about this.
Surprisingly it does not:

[dtor@dtor-ws vmci]$ ./scripts/checkpatch.pl -f  
drivers/misc/vmw_vmci/vmci_queue_pair.h 
total: 0 errors, 0 warnings, 191 lines checked

drivers/misc/vmw_vmci/vmci_queue_pair.h has no obvious style problems and is 
ready for submission.

Also silent on the patch itself...

We'll send a followup patch anyway.

Thanks,
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help