Skip to contentSkip to conversation

kobject: two typo fixes

PATCH Applied Johannes Berg 2 participants 2 messages Nov 5, 2007 – Nov 26, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kobject: two typo fixes

This fixes two typos from commit
34358c26a2c96b2a068dc44e0ac602106a466bce.

---
 lib/kobject.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/kobject.c +2 -2
@@ -313,8 +313,8 @@ int kobject_rename(struct kobject * kobj
 		struct kobject *temp_kobj;
 		temp_kobj = kset_find_obj(kobj->kset, new_name);
 		if (temp_kobj) {
-			printk(KERN_WARNING "kobject '%s' can not be renamed "
-			       "to '%s' as '%s' is already in existance.\n",
+			printk(KERN_WARNING "kobject '%s' cannot be renamed "
+			       "to '%s' as '%s' is already in existence.\n",
 			       kobject_name(kobj), new_name, new_name);
 			kobject_put(temp_kobj);
 			return -EINVAL;
#1 lore raw

patch kobject-two-typo-fixes.patch added to gregkh-2.6 tree

This is a note to let you know that I've just added the patch titled

Subject: kobject: two typo fixes

to my gregkh-2.6 tree. Its filename is

kobject-two-typo-fixes.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

Quoted 1 line

From [email protected] Mon Nov 26 15:12:16 2007

From: Johannes Berg <[email protected]>
Date: Mon, 05 Nov 2007 13:59:11 +0100
Subject: kobject: two typo fixes
To: [email protected]
Cc: Greg KH <[email protected]>, Linux Kernel list <[email protected]>
Message-ID: <[email protected]>

This fixes two typos from commit
34358c26a2c96b2a068dc44e0ac602106a466bce.

---
 lib/kobject.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/kobject.c +2 -2
@@ -377,8 +377,8 @@ int kobject_rename(struct kobject * kobj
 		struct kobject *temp_kobj;
 		temp_kobj = kset_find_obj(kobj->kset, new_name);
 		if (temp_kobj) {
-			printk(KERN_WARNING "kobject '%s' can not be renamed "
-			       "to '%s' as '%s' is already in existance.\n",
+			printk(KERN_WARNING "kobject '%s' cannot be renamed "
+			       "to '%s' as '%s' is already in existence.\n",
 			       kobject_name(kobj), new_name, new_name);
 			kobject_put(temp_kobj);
 			return -EINVAL;

Patches currently in gregkh-2.6 which might be from [email protected] are

driver/kobject-two-typo-fixes.patch