Give up non-conformance log

Signed-off-by: huang-jianfei200 <huangjianfei3@huawei.com>
Change-Id: I3c7bed304ab314db370f6ee4f661d3312253da1e
This commit is contained in:
huang-jianfei200
2023-03-14 10:48:07 +08:00
parent 0f845da6c9
commit 27b4042346
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ public:
MEDIA_ERR_LOG("This config is in use, do not support config modify.");
}
if (callback == nullptr || handler == nullptr) {
MEDIA_ERR_LOG("Invalid parameter.(callback=%p, handler=%p)", callback, handler);
MEDIA_ERR_LOG("Invalid parameter.");
}
callback_ = callback;
+4 -4
View File
@@ -52,8 +52,8 @@ static BOOL Initialize(Service* service, Identity identity)
}
CameraService* example = (CameraService*)service;
example->identity = identity;
MEDIA_INFO_LOG("Initialize(%s)! Identity<%d, %d, %p>", Media::SERVICE_NAME,
identity.serviceId, identity.featureId, identity.queueId);
MEDIA_INFO_LOG("Initialize(%s)! Identity<%d, %d>", Media::SERVICE_NAME,
identity.serviceId, identity.featureId);
return TRUE;
}
@@ -62,8 +62,8 @@ static BOOL MessageHandle(Service* service, Request* msg)
if (service == nullptr || msg == nullptr) {
return FALSE;
}
MEDIA_INFO_LOG("MessageHandle(%s)! Request<%d, %d, %p>",
service->GetName(service), msg->msgId, msg->msgValue, msg->data);
MEDIA_INFO_LOG("MessageHandle(%s)! Request<%d, %d>",
service->GetName(service), msg->msgId, msg->msgValue);
return FALSE;
}