From 660e1d9bffa9350a4bb01c3872be57b9d300a333 Mon Sep 17 00:00:00 2001 From: Zhou_Tao Date: Mon, 11 Sep 2023 13:41:27 +0800 Subject: [PATCH] [CP] Clean up remaining coverity issues Clean up remaining coverity issues. --- media_driver/agnostic/common/codec/hal/codechal_memdecomp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media_driver/agnostic/common/codec/hal/codechal_memdecomp.cpp b/media_driver/agnostic/common/codec/hal/codechal_memdecomp.cpp index 4a752e38949..9f712cc447d 100644 --- a/media_driver/agnostic/common/codec/hal/codechal_memdecomp.cpp +++ b/media_driver/agnostic/common/codec/hal/codechal_memdecomp.cpp @@ -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!");