[PATCH 1/1] Stage: hv: Rename struct device_context and re-arrange the fields inside (re-formatted)

Greg KH gregkh at suse.de
Wed Feb 17 21:05:56 UTC 2010


On Wed, Feb 17, 2010 at 08:58:47PM +0000, Haiyang Zhang wrote:
> From: Haiyang Zhang <haiyangz at microsoft.com>
> 
> Rename struct device_context and re-arrange the fields inside.
> Rename struct device_context to struct vm_device, and move 
> struct device field to the end according to Document/driver-model standard.

There is no need to move the struct device to the end, it can be
anywhere in the structure, just don't put it at the beginning so you
think you can cast pointers like other parts of the hv code does.

Anyway, no big deal, I'll queue this up in a bit.

thanks,

greg k-h



More information about the devel mailing list