Skip to content

Commit 205d049

Browse files
committed
Merge tag 'driver-core-6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core fixes from Greg KH: "Here is a single driver core fix for a much-reported-by-sysbot issue that showed up in 6.6-rc1. It's been submitted by many people, all in the same way, so it obviously fixes things for them all. Also in here is a single documentation update adding riscv to the embargoed hardware document in case there are any future issues with that processor family. Both of these have been in linux-next with no reported problems" * tag 'driver-core-6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: Documentation: embargoed-hardware-issues.rst: Add myself for RISC-V driver core: return an error when dev_set_name() hasn't happened
2 parents fd455e7 + 139e081 commit 205d049

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Documentation/process/embargoed-hardware-issues.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ an involved disclosed party. The current ambassadors list:
251251
IBM Z Christian Borntraeger <borntraeger@de.ibm.com>
252252
Intel Tony Luck <tony.luck@intel.com>
253253
Qualcomm Trilok Soni <tsoni@codeaurora.org>
254+
RISC-V Palmer Dabbelt <palmer@dabbelt.com>
254255
Samsung Javier González <javier.gonz@samsung.com>
255256

256257
Microsoft James Morris <jamorris@linux.microsoft.com>

drivers/base/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3537,6 +3537,8 @@ int device_add(struct device *dev)
35373537
/* subsystems can specify simple device enumeration */
35383538
else if (dev->bus && dev->bus->dev_name)
35393539
error = dev_set_name(dev, "%s%u", dev->bus->dev_name, dev->id);
3540+
else
3541+
error = -EINVAL;
35403542
if (error)
35413543
goto name_error;
35423544

0 commit comments

Comments
 (0)