mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 01:31:36 -04:00
5ceb44f5f4
Signed-off-by: xiacong <xiacong4@huawei.com> Change-Id: Ib9a158b9bf965bcf1cd28786c25a50fe718a6690 Signed-off-by: xiacong <xiacong4@huawei.com>
22 lines
552 B
C
22 lines
552 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (c) 2023 Huawei Device Co., Ltd.
|
|
*/
|
|
|
|
#ifndef _CED_LOG_H
|
|
#define _CED_LOG_H
|
|
|
|
#define CED_CHECK_FAILED (-1024)
|
|
|
|
#define CED_TAG "ced_kernel"
|
|
#define CED_INFO_TAG "I"
|
|
#define CED_ERROR_TAG "E"
|
|
#define CED_DEBUG_TAG "D"
|
|
|
|
#define ced_log_info(fmt, args...) pr_info("[%s/%s]%s: " fmt "\n", \
|
|
CED_INFO_TAG, CED_TAG, __func__, ##args)
|
|
|
|
#define ced_log_error(fmt, args...) pr_err("[%s/%s]%s: " fmt "\n", \
|
|
CED_ERROR_TAG, CED_TAG, __func__, ##args)
|
|
|
|
#endif /* _CED_LOG_H */ |