mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
--- a/tls/nss_tlsmgr_priv.h
|
|
+++ b/tls/nss_tlsmgr_priv.h
|
|
@@ -28,7 +28,7 @@
|
|
#define NSS_TLSMGR_DEBUG_LEVEL_INFO 3
|
|
#define NSS_TLSMGR_DEBUG_LEVEL_TRACE 4
|
|
|
|
-#define nss_tlsmgr_info_always(s, ...) pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__)
|
|
+#define nss_tlsmgr_info_always(s, ...) pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__);
|
|
|
|
#define nss_tlsmgr_error(s, ...) do { \
|
|
if (net_ratelimit()) { \
|
|
@@ -43,18 +43,18 @@
|
|
} while (0)
|
|
|
|
#if defined(CONFIG_DYNAMIC_DEBUG)
|
|
-#define nss_tlsmgr_info(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__)
|
|
-#define nss_tlsmgr_trace(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__)
|
|
+#define nss_tlsmgr_info(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__);
|
|
+#define nss_tlsmgr_trace(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__);
|
|
#else
|
|
|
|
#define nss_tlsmgr_info(s, ...) { \
|
|
if (NSS_TLSMGR_DEBUG_LEVEL > NSS_TLSMGR_DEBUG_LEVEL_WARN) \
|
|
- pr_notice("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__) \
|
|
+ pr_notice("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__); \
|
|
}
|
|
|
|
#define nss_tlsmgr_trace(s, ...) { \
|
|
if (NSS_TLSMGR_DEBUG_LEVEL > NSS_TLSMGR_DEBUG_LEVEL_INFO) \
|
|
- pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__) \
|
|
+ pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__); \
|
|
}
|
|
|
|
#endif /* CONFIG_DYNAMIC_DEBUG */
|