Thread (14 messages) flat view 14 messages, 4 authors, 2011-06-10

Re: [PATCH 7/7] [v4] drivers/virt: introduce Freescale hypervisor management driver

From: Timur Tabi <hidden>
Date: 2011-06-08 23:16:20
Also in: lkml

Randy Dunlap wrote:
quoted
Add the drivers/virt directory, which houses drivers that support
quoted
virtualization environments, and add the Freescale hypervisor management
driver.
It can't go in linux/virt or linux/virt/fsl instead?  why drivers/ ?

or maybe linux/virt should be drivers/virt ?
I knew this would happen.  The reason I put it in drivers/virt is because Arnd
told me to put it there.  At this point, I don't give a damn where it goes, but
I wish you all would come to a consensus.
quoted
quoted
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
Why any later version?  I thought that <powers> decided that Linux
is GPL v2.
Um, you do realize that this isn't the only file in the kernel that is
v2-or-later?  Try this command on the Linux source, and you'll see what I mean:

grep -r "\(at your option\)" *

I'm dual-licensing the header file because it's meant for applications as well
as the kernel.  That way, no one needs to worry whether #including the header
file in his application will taint the app with the GPL.
quoted
quoted
+/**
+ * struct fsl_hv_ioctl_restart: restart a partition
This syntax should be (for all structs here):

 * struct fsl_hv_ioctl_restart - restart a partition

but the struct fields/members do use ':' instead of '-'.

Darn, I checked Documentation/kernel-doc-nano-HOWTO.txt and it says
that ':' is optional but '-' is needed, so you could use

 * struct fsl_hv_ioctl_restart: - restart a partition
Ok, I'll change it.
quoted
quoted
+ * fsl_hv_event_register -- register a callback for failover events
Documentation/kernel-doc-nano-HOWTO.txt says to use one '-' here, not 2.
Ok.  I'll review that document and make sure my comments conform.  I guess I
just wasn't paying attention at the time.

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help