Pull kernfs bugfix and documentation update from Greg KH: "Here are two changes for 6.9-rc5 that deal with "driver core" stuff, that do the following: - sysfs reference leak fix - embargoed-hardware-issues.rst update for Power Both of these have been in linux-next for over a week with no reported issues" * tag 'driver-core-6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: Documentation: embargoed-hardware-issues.rst: Add myself for Power fs: sysfs: Fix reference leak in sysfs_break_active_protection()
Unified · Split
| @@ -252,7 +252,7 @@ an involved disclosed party. The current ambassadors list: · 251 unmodified lines | |||
| 252 | AMD Tom Lendacky <thomas.lendacky@amd.com> | 252 | AMD Tom Lendacky <thomas.lendacky@amd.com> |
| 253 | Ampere Darren Hart <darren@os.amperecomputing.com> | 253 | Ampere Darren Hart <darren@os.amperecomputing.com> |
| 254 | ARM Catalin Marinas <catalin.marinas@arm.com> | 254 | ARM Catalin Marinas <catalin.marinas@arm.com> |
| 255 | IBM Power Anton Blanchard <anton@linux.ibm.com> | 255 | IBM Power Michael Ellerman <ellerman@au.ibm.com> |
| 256 | IBM Z Christian Borntraeger <borntraeger@de.ibm.com> | 256 | IBM Z Christian Borntraeger <borntraeger@de.ibm.com> |
| 257 | Intel Tony Luck <tony.luck@intel.com> | 257 | Intel Tony Luck <tony.luck@intel.com> |
| 258 | Qualcomm Trilok Soni <quic_tsoni@quicinc.com> | 258 | Qualcomm Trilok Soni <quic_tsoni@quicinc.com> |
| @@ -463,6 +463,8 @@ struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, · 462 unmodified lines | |||
| 463 | kn = kernfs_find_and_get(kobj->sd, attr->name); | 463 | kn = kernfs_find_and_get(kobj->sd, attr->name); |
| 464 | if (kn) | 464 | if (kn) |
| 465 | kernfs_break_active_protection(kn); | 465 | kernfs_break_active_protection(kn); |
| 466 | else | ||
| 467 | kobject_put(kobj); | ||
| 466 | return kn; | 468 | return kn; |
| 467 | } | 469 | } |
| 468 | EXPORT_SYMBOL_GPL(sysfs_break_active_protection); | 470 | EXPORT_SYMBOL_GPL(sysfs_break_active_protection); |