]> www.infradead.org Git - users/dwmw2/linux.git/commit
mei: bus: prefix device names on bus with the bus name
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 5 Nov 2019 15:05:13 +0000 (17:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2019 21:30:49 +0000 (22:30 +0100)
commit57916ffb5d4b646b9c63276f1bca1d033e6baa2c
tree56f4e9fc298c59f30b2a1019939172b89d569ce4
parent5029226bb6b70df082b8bb4699d21aeee0093f65
mei: bus: prefix device names on bus with the bus name

commit 7a2b9e6ec84588b0be65cc0ae45a65bac431496b upstream.

Add parent device name to the name of devices on bus to avoid
device names collisions for same client UUID available
from different MEI heads. Namely this prevents sysfs collision under
/sys/bus/mei/device/

In the device part leave just UUID other parameters that are
required for device matching are not required here and are
just bloating the name.

Cc: <stable@vger.kernel.org>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20191105150514.14010-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c