Skip to content

Commit

Permalink
[CP] Clean up remaining coverity issues
Browse files Browse the repository at this point in the history
Clean up remaining coverity issues.
  • Loading branch information
TaoZhou-intel authored and intel-mediadev committed Sep 11, 2023
1 parent b2e90de commit 660e1d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media_driver/agnostic/common/codec/hal/codechal_memdecomp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ MOS_STATUS MediaMemDecompState::MemoryDecompress(
{
uint32_t *kernelBase = nullptr;
uint32_t kernelSize = 0;
m_osInterface->osCpInterface->GetTK(
MHW_CHK_STATUS_RETURN(m_osInterface->osCpInterface->GetTK(
&kernelBase,
&kernelSize,
nullptr);
nullptr));
if (nullptr == kernelBase || 0 == kernelSize)
{
MHW_ASSERT("Could not get TK kernels for MMC!");
Expand Down

0 comments on commit 660e1d9

Please sign in to comment.