On Thu, Jan 09, 2014 at 02:06:46PM +0000, Mark Brown wrote: > On Thu, Jan 09, 2014 at 03:23:55PM +0200, Mika Westerberg wrote: > > > In case of a buggy BIOS that lists multiple SPI devices sharing the same > > chip select (even though they should use different) the current code fails > > to detect that and allows the devices to be added to the bus. > > This actually also points out another issue - if we have two instances > of a device on different buses they could end up with the same > dev_name() if they have the same chip select. Hrm.
I don't think that can happen, at least in case of ACPI, since each ACPI device has unique name, such as 'INT33C0:00' - the ':00' suffix is the "instance" number ACPI core gives for devices. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

