[PATCH 1/4] staging: hv: Fix the code depending on struct vmbus_driver_context data order

Haiyang Zhang haiyangz at microsoft.com
Wed Feb 23 22:55:12 UTC 2011


> From: Greg KH [mailto:greg at kroah.com]
> The layering is almost ok, there is still one more layer here than is
> needed, and it should be removed (I already removed lots of layers that
> were not needed, just didn't get to this one.)  But the naming also
> needs to be fixed up as it is wrong from a "driver model" standpoint
> with the rest of the kernel.

So, how about rename the "struct driver_context" to "struct gen_drv_ctx"
in this patch? We can deal with the layering in next round of patches.

Thanks,

- Haiyang




More information about the devel mailing list