aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMartyna Szapar <martyna.szapar@intel.com>2019-04-15 14:43:07 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-04 17:40:25 -0700
commit24474f2709af6729b9b1da1c5e160ab62e25e3a4 (patch)
tree2d143c94f0814d7346d73d9627ea0dece4e52185 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parenti40e: Use struct_size() in kzalloc() (diff)
downloadwireguard-linux-24474f2709af6729b9b1da1c5e160ab62e25e3a4.tar.xz
wireguard-linux-24474f2709af6729b9b1da1c5e160ab62e25e3a4.zip
i40e: Fix of memory leak and integer truncation in i40e_virtchnl.c
Fixed possible memory leak in i40e_vc_add_cloud_filter function: cfilter is being allocated and in some error conditions the function returns without freeing the memory. Fix of integer truncation from u16 (type of queue_id value) to u8 when calling i40e_vc_isvalid_queue_id function. Signed-off-by: Martyna Szapar <martyna.szapar@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions