public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [patch 9/9] dlm: newline in printks
Date: Thu, 2 Jun 2005 16:03:27 +0800	[thread overview]
Message-ID: <20050602080327.GI21570@redhat.com> (raw)

[-- Attachment #1: add-newline-in-printk.patch --]
[-- Type: text/plain, Size: 1203 bytes --]

A couple printk's were missing \n at the end.

Signed-off-by: David Teigland <teigland@redhat.com>

Index: linux/drivers/dlm/device.c
===================================================================
--- linux.orig/drivers/dlm/device.c	2005-06-02 12:58:09.796172200 +0800
+++ linux/drivers/dlm/device.c	2005-06-02 13:16:01.522245072 +0800
@@ -263,7 +263,7 @@
 
 	status = misc_register(&newls->ls_miscinfo);
 	if (status) {
-		printk(KERN_ERR "dlm: misc register failed for %s", name);
+		printk(KERN_ERR "dlm: misc register failed for %s\n", name);
 		dlm_release_lockspace(newls->ls_lockspace, 0);
 		kfree(newls->ls_miscinfo.name);
 		kfree(newls);
@@ -466,7 +466,7 @@
 	     req->version[1] > DLM_DEVICE_VERSION_MINOR)) {
 
 		printk(KERN_DEBUG "dlm: process %s (%d) version mismatch "
-		       "user (%d.%d.%d) kernel (%d.%d.%d),",
+		       "user (%d.%d.%d) kernel (%d.%d.%d)\n",
 		       current->comm,
 		       current->pid,
 		       req->version[0],
@@ -1102,8 +1102,7 @@
 
 	r = misc_register(&ctl_device);
 	if (r) {
-		printk(KERN_ERR "dlm: misc_register failed for control "
-				"device\n");
+		printk(KERN_ERR "dlm: misc_register failed for control dev\n");
 		return r;
 	}
 

--


                 reply	other threads:[~2005-06-02  8:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050602080327.GI21570@redhat.com \
    --to=teigland@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox