diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-01-13 01:18:47 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-01-24 01:27:26 +0300 |
commit | 3186409711e64ed0a0fa767fad555a5e655022da (patch) | |
tree | cbd254adc8b1e73e1a8f7fa083c7089ae567f06a /fs/dlm | |
parent | 11605353f27c23902b6fb993a57bd2f0baaff3b6 (diff) | |
download | linux-3186409711e64ed0a0fa767fad555a5e655022da.tar.xz |
fs: dlm: remove newline in log_print
There is an API difference between log_print() and other printk()s to
put a newline or not. This one was introduced by mistake because
log_print() adds a newline.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/midcomms.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c index 44e29f99de4e..7827d049378c 100644 --- a/fs/dlm/midcomms.c +++ b/fs/dlm/midcomms.c @@ -467,7 +467,7 @@ static void dlm_pas_fin_ack_rcv(struct midcomms_node *node) break; default: spin_unlock(&node->state_lock); - log_print("%s: unexpected state: %d\n", + log_print("%s: unexpected state: %d", __func__, node->state); WARN_ON_ONCE(1); return; @@ -540,7 +540,7 @@ static void dlm_midcomms_receive_buffer(union dlm_packet *p, break; default: spin_unlock(&node->state_lock); - log_print("%s: unexpected state: %d\n", + log_print("%s: unexpected state: %d", __func__, node->state); WARN_ON_ONCE(1); return; @@ -1269,7 +1269,7 @@ static void dlm_act_fin_ack_rcv(struct midcomms_node *node) break; default: spin_unlock(&node->state_lock); - log_print("%s: unexpected state: %d\n", + log_print("%s: unexpected state: %d", __func__, node->state); WARN_ON_ONCE(1); return; @@ -1369,7 +1369,7 @@ void dlm_midcomms_remove_member(int nodeid) /* already gone, do nothing */ break; default: - log_print("%s: unexpected state: %d\n", + log_print("%s: unexpected state: %d", __func__, node->state); break; } |