[PATCH v4 0/2] Fix issues reported by klocwork

Zhenyu Wang zhenyuw at linux.intel.com
Thu May 30 09:22:30 UTC 2019


On 2019.05.02 12:59:20 +0300, Aleksei Gimbitskii wrote:
> The klocwork static code analyzer found 11 critical issues and 7 error
> issues in GVT-g source code. After the analyzation, one critical issue
> and 6 "errors" was concluded as harmless. This patchset fixes other
> cases, which might cause potential issues in future.
> 
> v4:
> - Minor changes to one error message in patch 1. (Colin Xu) 
> - After discusion we agreed that patch 2 remains unmodified.
> 
> v3:
> - Remove typedef and let the enumeration starts from zero. (Zhi Wang)
> 
> V2:
> - Print some error messages if page table type is invalid. (Colin Xu)
> - Increase the size of the buffer. (Colin Xu)
> - Initialize fb_info.obj in vgpu_get_plane_info(). (Colin Xu)
> 
> Aleksei Gimbitskii (2):
>   drm/i915/gvt: Check if cur_pt_type is valid
>   drm/i915/gvt: Assign NULL to the pointer after memory free.
> 

Applied these. For second one, pls check to refine error message later.

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/20190530/3173163a/attachment.sig>


More information about the intel-gvt-dev mailing list