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

Wang, Zhi A zhi.a.wang at intel.com
Mon May 20 04:59:32 UTC 2019


Ping for review.

-----Original Message-----
From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On Behalf Of Aleksei Gimbitskii
Sent: Thursday, May 2, 2019 12:59 PM
To: intel-gvt-dev at lists.freedesktop.org
Cc: Gimbitskii, Aleksei <aleksei.gimbitskii at intel.com>
Subject: [PATCH v4 0/2] Fix issues reported by klocwork

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.

_______________________________________________
intel-gvt-dev mailing list
intel-gvt-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev


More information about the intel-gvt-dev mailing list