lkml.org 
[lkml]   [2010]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] Stage: hv: Rename struct device_context and re-arrange the fields inside (re-formatted)
On Wed, Feb 17, 2010 at 08:58:47PM +0000, Haiyang Zhang wrote:
> From: Haiyang Zhang <haiyangz@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


\
 
 \ /
  Last update: 2010-02-17 22:13    [W:0.169 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site