Re: [PATCH] Revert "Bluetooth: Use devname:vhci module alias for virtual HCI driver"

From: Marcel Holtmann
Date: Wed Mar 05 2014 - 13:37:22 EST


Hi Josh,

>>> 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.
>>
>> NAK. We allocated a static minor for this.
>
> Johan mentioned that. Commit b075dd40c95d11c2c8690f6c4d6232fc,
> correct? Why isn't that headed into 3.14 right now, and CC'd to
> stable? Currently you have a somewhat broken driver in 3.13 and
> 3.14-rcX that seems to have a pretty clear fix.

somewhat broken? kmod prints this as an error, but it is not a regression in user functionality. The driver works just as before. The error message can be ignored.

So if anybody feels strongly that the static device node assignment should be put into -stable, then I am fine with it. However I do not see this as passing requirement for a -stable fix since it is really not affecting anyone (minus the misleading message from kmod).

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/