Bluetooth: Fix VIRTIO_ID_BT assigned number
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 Bluetooth: Fix VIRTIO_ID_BT assigned number
It turned out that the VIRTIO_ID_* are not assigned in the virtio_ids.h file in the upstream kernel. Picking the next free one was wrong and there is a process that has been followed now.
See https://github.com/oasis-tcs/virtio-spec/issues/108 for details.
Fixes afd2daa26c7a ("Bluetooth: Add support for virtio transport driver")
Signed-off-by Marcel Holtmann <[email protected]>
--- include/uapi/linux/virtio_ids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_ids.h +1 -1
@@ -54,7 +54,7 @@#define VIRTIO_ID_SOUND 25/* virtio sound */ #define VIRTIO_ID_FS 26/* virtio filesystem */ #define VIRTIO_ID_PMEM 27/* virtio pmem */ -#define VIRTIO_ID_BT 28/* virtio bluetooth */ #define VIRTIO_ID_MAC80211_HWSIM 29/* virtio mac80211-hwsim */ +#define VIRTIO_ID_BT 40/* virtio bluetooth */ #endif /* _LINUX_VIRTIO_IDS_H */
Signature · 1 line
2.31.1
Hi Marcel,
Quoted 27 lines · Marcel Holtmann
It turned out that the VIRTIO_ID_* are not assigned in the
virtio_ids.hfile in the upstream kernel. Picking the next free one was wrong and there is a process that has been followed now.See https://github.com/oasis-tcs/virtio-spec/issues/108 for details.
Fixes afd2daa26c7a ("Bluetooth: Add support for virtio transport driver")Signed-off-by Marcel Holtmann <[email protected]>--- include/uapi/linux/virtio_ids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/linux/virtio_ids.h +1
-2@@ -54,7 +54,7 @@#define VIRTIO_ID_SOUND 25/* virtio sound */ #define VIRTIO_ID_FS 26/* virtio filesystem */ #define VIRTIO_ID_PMEM 27/* virtio pmem */ -#define VIRTIO_ID_BT 28/* virtio bluetooth */ #define VIRTIO_ID_MAC80211_HWSIM 29/* virtio mac80211-hwsim */ +#define VIRTIO_ID_BT 40/* virtio bluetooth */ #endif /* _LINUX_VIRTIO_IDS_H */ --
Quoted 1 line
2.31.1
Applied to bluetooth.git, thanks.
Signature · 1 line
Luiz Augusto von Dentz