Kernel 6.13: Expand debug macros
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Rafal Stefanowski <rafal.stefanowski@huawei.com>
This commit is contained in:
parent
7dcb9c92fe
commit
14f375f135
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright(c) 2019-2021 Intel Corporation
|
* Copyright(c) 2019-2021 Intel Corporation
|
||||||
* Copyright(c) 2024 Huawei Technologies
|
* Copyright(c) 2024-2025 Huawei Technologies
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,8 +29,8 @@
|
|||||||
trace_printk(format, ##__VA_ARGS__)
|
trace_printk(format, ##__VA_ARGS__)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define CAS_CLS_DEBUG_MSG(format, ...)
|
#define CAS_CLS_DEBUG_MSG(format, ...) ({})
|
||||||
#define CAS_CLS_DEBUG_TRACE(format, ...)
|
#define CAS_CLS_DEBUG_TRACE(format, ...) ({})
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Done condition test - always accepts and stops evaluation */
|
/* Done condition test - always accepts and stops evaluation */
|
||||||
|
Loading…
Reference in New Issue
Block a user