All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "Bluetooth: Use devname:vhci module alias for virtual HCI driver"
@ 2014-03-05 11:59 Thomas Bächler
  2014-03-05 15:28   ` Josh Boyer
  2014-03-05 16:46 ` Marcel Holtmann
  0 siblings, 2 replies; 13+ messages in thread
From: Thomas Bächler @ 2014-03-05 11:59 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Gustavo Padovan, Johan Hedberg, linux-bluetooth, linux-kernel,
	Thomas Bächler

Adding the devname:vhci alias and thus adding a static /dev/vhci device node
only works when assigning a fixed major/minor number. However, the code
currently uses a dynamically assigned minor number. It is therefore impossible
to create a static device and to autoload the module when accessing it.

Reverting this fixes the kmod error message
 depmod: ERROR: Module 'hci_vhci' has devname (vhci) but lacks major and minor information. Ignoring.

This reverts commit bfacbb9aec029b3200053d84c8cd5d7575f2d4a5.
---
 drivers/bluetooth/hci_vhci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c
index 1ef6990..cf05d70 100644
--- a/drivers/bluetooth/hci_vhci.c
+++ b/drivers/bluetooth/hci_vhci.c
@@ -384,4 +384,3 @@ MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>");
 MODULE_DESCRIPTION("Bluetooth virtual HCI driver ver " VERSION);
 MODULE_VERSION(VERSION);
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("devname:vhci");
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-03-18 11:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 11:59 [PATCH] Revert "Bluetooth: Use devname:vhci module alias for virtual HCI driver" Thomas Bächler
2014-03-05 15:28 ` Josh Boyer
2014-03-05 15:28   ` Josh Boyer
2014-03-05 16:11   ` Johan Hedberg
2014-03-05 16:46 ` Marcel Holtmann
2014-03-05 17:50   ` Josh Boyer
2014-03-05 18:36     ` Marcel Holtmann
2014-03-05 18:48       ` Thomas Bächler
2014-03-05 18:53         ` Josh Boyer
2014-03-05 18:53           ` Josh Boyer
2014-03-05 19:02           ` Marcel Holtmann
2014-03-18 11:34         ` Lucas De Marchi
2014-03-18 11:34           ` Lucas De Marchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.