linux/drivers/misc/mei
Pratyush Anand 6f9193ec04 mei: make sysfs modalias format similar as uevent modalias
modprobe is not able to resolve sysfs modalias for mei devices.

 # cat
/sys/class/watchdog/watchdog0/device/watchdog/watchdog0/device/modalias
mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:
 # modprobe --set-version 4.9.6-200.fc25.x86_64 -R
mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:
modprobe: FATAL: Module mei::05b79a6f-4628-4d7f-899d-a91514cb32ab: not
found in directory /lib/modules/4.9.6-200.fc25.x86_64
 # cat /lib/modules/4.9.6-200.fc25.x86_64/modules.alias | grep
05b79a6f-4628-4d7f-899d-a91514cb32ab
alias mei:*:05b79a6f-4628-4d7f-899d-a91514cb32ab:*:* mei_wdt

commit b26864cad1 ("mei: bus: add client protocol
version to the device alias"), however sysfs modalias
is still in formmat mei:S:uuid:*.

This patch equates format of uevent and sysfs modalias so that modprobe
is able to resolve the aliases.

Cc: <stable@vger.kernel.org> 4.7+
Fixes: commit b26864cad1 ("mei: bus: add client protocol version to the device alias")
Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-03 19:10:22 +09:00
..
bus-fixup.c mei: bus: elminate variable length arrays 2017-04-08 17:38:25 +02:00
bus.c mei: make sysfs modalias format similar as uevent modalias 2017-06-03 19:10:22 +09:00
client.c mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
client.h mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
debugfs.c Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-02-20 13:23:30 -08:00
hbm.c mei: hbm: remove variable length arrays 2017-04-08 17:38:25 +02:00
hbm.h mei: me: d0i3: add d0i3 enter/exit state machine 2015-08-03 17:33:55 -07:00
hw-me-regs.h mei: me: add lewisburg device ids 2016-11-29 20:15:30 +01:00
hw-me.c mei: me: generate an interrupt if the hw indicates reset. 2017-02-03 11:49:06 +01:00
hw-me.h mei: fix the back to back interrupt handling 2016-12-06 11:03:22 +01:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: simplify error handling via devres function. 2017-01-31 11:08:18 +01:00
hw-txe.h mei: simplify error handling via devres function. 2017-01-31 11:08:18 +01:00
hw.h mei: bus: enable OS version only for SPT and newer 2017-01-11 07:43:57 +01:00
init.c mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
interrupt.c mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
Kconfig mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
main.c mei: implement fsync 2017-04-08 17:38:25 +02:00
Makefile mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
mei_dev.h mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
mei-trace.c mei: trace pci configuration space io 2016-02-07 13:00:52 -08:00
mei-trace.h mei: drop superfluous closing bracket from write traces 2016-02-07 14:47:20 -08:00
pci-me.c mei: add pci driver ops shutdown handler. 2017-04-08 17:38:25 +02:00
pci-txe.c mei: add pci driver ops shutdown handler. 2017-04-08 17:38:25 +02:00