lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 19 Mar 2013 14:46:59 +0800
From:	Dong Hao <haodong@...ux.vnet.ibm.com>
To:	gregkh@...uxfoundation.org
Cc:	xiaoguangrong@...ux.vnet.ibm.com, shangw@...ux.vnet.ibm.com,
	weiyang@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org,
	Dong Hao <haodong@...ux.vnet.ibm.com>
Subject: [PATCH 1/3] lib/kobject: simplify the kobject_init function

From: Dong Hao <haodong@...ux.vnet.ibm.com>

The printk() function at the end of function kobject_init() already had '\n',
so remove the duplicated one.

Signed-off-by: Dong Hao <haodong@...ux.vnet.ibm.com>
---
 lib/kobject.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/kobject.c b/lib/kobject.c
index e07ee1f..279a172 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -274,7 +274,7 @@ void kobject_init(struct kobject *kobj, struct kobj_type *ktype)
 		goto error;
 	}
 	if (!ktype) {
-		err_str = "must have a ktype to be initialized properly!\n";
+		err_str = "must have a ktype to be initialized properly!";
 		goto error;
 	}
 	if (kobj->state_initialized) {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ