[PATCH v4 0/2] Fix issues reported by klocwork
Aleksei Gimbitskii
aleksei.gimbitskii at intel.com
Thu May 2 09:59:20 UTC 2019
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.
drivers/gpu/drm/i915/gvt/gtt.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
--
2.17.1
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the intel-gvt-dev
mailing list