From 14f375f1354ace32c55d5e7e59a1b314ed56a047 Mon Sep 17 00:00:00 2001 From: Rafal Stefanowski Date: Wed, 5 Feb 2025 16:48:56 +0100 Subject: [PATCH] Kernel 6.13: Expand debug macros Signed-off-by: Robert Baldyga Signed-off-by: Rafal Stefanowski --- modules/cas_cache/classifier.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/cas_cache/classifier.c b/modules/cas_cache/classifier.c index ca1c3af..13881a2 100644 --- a/modules/cas_cache/classifier.c +++ b/modules/cas_cache/classifier.c @@ -1,6 +1,6 @@ /* * Copyright(c) 2019-2021 Intel Corporation -* Copyright(c) 2024 Huawei Technologies +* Copyright(c) 2024-2025 Huawei Technologies * SPDX-License-Identifier: BSD-3-Clause */ @@ -29,8 +29,8 @@ trace_printk(format, ##__VA_ARGS__) #else -#define CAS_CLS_DEBUG_MSG(format, ...) -#define CAS_CLS_DEBUG_TRACE(format, ...) +#define CAS_CLS_DEBUG_MSG(format, ...) ({}) +#define CAS_CLS_DEBUG_TRACE(format, ...) ({}) #endif /* Done condition test - always accepts and stops evaluation */