The branch stable/14 has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=73ee1909bfcf7432ef48ef0411c3d0036520417d

commit 73ee1909bfcf7432ef48ef0411c3d0036520417d
Author:     Mark Johnston <ma...@freebsd.org>
AuthorDate: 2024-07-14 16:20:18 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2024-07-22 00:55:27 +0000

    netlink: Wrap long lines
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   Klara, Inc.
    
    (cherry picked from commit e536b197c0cf5c245e0b65f1b73447d53f3656f2)
---
 sys/netlink/netlink_debug.h | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/sys/netlink/netlink_debug.h b/sys/netlink/netlink_debug.h
index 0d8423d4933a..db987b26b6d7 100644
--- a/sys/netlink/netlink_debug.h
+++ b/sys/netlink/netlink_debug.h
@@ -46,12 +46,16 @@ SYSCTL_DECL(_net_netlink_debug);
  * Logging for events specific for particular process
  * Example: [nl_domain] PID 4834 fdump_sa: unsupported family: 45
  */
-#define        NL_RAW_PID_LOG(_l, _pid, _fmt, ...)     NL_RAW_PID_LOG_##_l(_l, 
_pid, _fmt, ## __VA_ARGS__)
-#define        _NL_RAW_PID_LOG(_l, _pid, _fmt, ...)    if 
(_DEBUG_PASS_MSG(_l)) {      \
-       _output("[" DEBUG_PREFIX_NAME "] PID %u %s: " _fmt "\n", _pid, 
__func__, ##__VA_ARGS__); \
-}
+#define        NL_RAW_PID_LOG(_l, _pid, _fmt, ...)             \
+       NL_RAW_PID_LOG_##_l(_l, _pid, _fmt, ## __VA_ARGS__)
+#define        _NL_RAW_PID_LOG(_l, _pid, _fmt, ...)            \
+       if (_DEBUG_PASS_MSG(_l)) {                      \
+               _output("[" DEBUG_PREFIX_NAME "] PID %u %s: " _fmt "\n", _pid, \
+                   __func__, ##__VA_ARGS__);           \
+       }
 
-#define        NLP_LOG(_l, _nlp, _fmt, ...)    NL_RAW_PID_LOG_##_l(_l, 
nlp_get_pid(_nlp), _fmt, ## __VA_ARGS__)
+#define        NLP_LOG(_l, _nlp, _fmt, ...)                    \
+       NL_RAW_PID_LOG_##_l(_l, nlp_get_pid(_nlp), _fmt, ## __VA_ARGS__)
 
 #if DEBUG_MAX_LEVEL>=LOG_DEBUG3
 #define        NL_RAW_PID_LOG_LOG_DEBUG3       _NL_RAW_PID_LOG
@@ -77,7 +81,5 @@ SYSCTL_DECL(_net_netlink_debug);
 #define        NL_RAW_PID_LOG_LOG_ERR         _NL_RAW_PID_LOG
 #define        NL_RAW_PID_LOG_LOG_WARNING      _NL_RAW_PID_LOG
 
-
-
-#endif
-#endif
+#endif /* _KERNEL */
+#endif /* !_NETLINK_NETLINK_DEBUG_H_ */

Reply via email to