- fix-3-gregkh-driver-kobject-remove-the-static-array-for-the-name.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     fix gregkh-driver-kobject-remove-the-static-array-for-the-name 3
has been removed from the -mm tree.  Its filename was
     fix-3-gregkh-driver-kobject-remove-the-static-array-for-the-name.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: fix gregkh-driver-kobject-remove-the-static-array-for-the-name 3
From: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>

Using the kobject_set_name function to set the kobject k_name.

Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/pci/hotplug/rpadlpar_sysfs.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -puN drivers/pci/hotplug/rpadlpar_sysfs.c~fix-3-gregkh-driver-kobject-remove-the-static-array-for-the-name drivers/pci/hotplug/rpadlpar_sysfs.c
--- a/drivers/pci/hotplug/rpadlpar_sysfs.c~fix-3-gregkh-driver-kobject-remove-the-static-array-for-the-name
+++ a/drivers/pci/hotplug/rpadlpar_sysfs.c
@@ -129,17 +129,17 @@ struct kobj_type ktype_dlpar_io = {
 };
 
 struct kset dlpar_io_kset = {
-	.kobj = {.name = DLPAR_KOBJ_NAME,
-		 .ktype = &ktype_dlpar_io,
-		 .parent = &pci_hotplug_slots_subsys.kobj},
+	.kobj = {.ktype = &ktype_dlpar_io,
+		.parent = &pci_hotplug_slots_subsys.kobj},
 	.ktype = &ktype_dlpar_io,
 };
 
 int dlpar_sysfs_init(void)
 {
+	kobject_set_name(&dlpar_io_kset.kobj, DLPAR_KOBJ_NAME);
 	if (kset_register(&dlpar_io_kset)) {
 		printk(KERN_ERR "rpadlpar_io: cannot register kset for %s\n",
-				dlpar_io_kset.kobj.name);
+				dlpar_io_kset.kobj.k_name);
 		return -EINVAL;
 	}
 
_

Patches currently in -mm which might be from kamalesh@xxxxxxxxxxxxxxxxxx are

git-net.patch
git-nfsd.patch
memoryless-nodes-fixup-uses-of-node_online_map-in-generic-code-fix.patch
use-extended-crashkernel-command-line-on-ia64-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux