[PATCH v4] drm/i915/gvt: refine function emulate_mmio_read/write

Zhenyu Wang zhenyuw at linux.intel.com
Mon Dec 11 09:21:24 UTC 2017


On 2017.12.11 17:15:02 +0800, pei.zhang at intel.com wrote:
> From: Pei Zhang <pei.zhang at intel.com>
> 
> These 2 functions are coded by multiple person in multiple patches. The
> 'return' and 'goto err' are mix-used in same place, which cause the
> function looks disorder. Unify to use only 'goto' so that the gvt lock
> is acquired in one place and released in one place.
> 
> Signed-off-by: Pei Zhang <pei.zhang at intel.com>
> ---

applied, thanks!

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20171211/9d301f15/attachment-0001.sig>


More information about the intel-gvt-dev mailing list