* Re: [PATCH -next] iommu/virtio: Add missing MODULE_DEVICE_TABLE [not found] <20210508031451.53493-1-cuibixuan@huawei.com> @ 2021-05-12 15:30 ` Jean-Philippe Brucker 2021-05-18 9:24 ` Joerg Roedel 1 sibling, 0 replies; 2+ messages in thread From: Jean-Philippe Brucker @ 2021-05-12 15:30 UTC (permalink / raw) To: Bixuan Cui Cc: Joerg Roedel, kernel-janitors, linux-kernel, virtualization, iommu, Will Deacon On Sat, May 08, 2021 at 11:14:51AM +0800, Bixuan Cui wrote: > This patch adds missing MODULE_DEVICE_TABLE definition which generates > correct modalias for automatic loading of this driver when it is built > as an external module. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Bixuan Cui <cuibixuan@huawei.com> Fixes: fa4afd78ea12 ("iommu/virtio: Build virtio-iommu as module") Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org> > --- > drivers/iommu/virtio-iommu.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iommu/virtio-iommu.c b/drivers/iommu/virtio-iommu.c > index 7c02481a81b4..c6e5ee4d9cef 100644 > --- a/drivers/iommu/virtio-iommu.c > +++ b/drivers/iommu/virtio-iommu.c > @@ -1136,6 +1136,7 @@ static struct virtio_device_id id_table[] = { > { VIRTIO_ID_IOMMU, VIRTIO_DEV_ANY_ID }, > { 0 }, > }; > +MODULE_DEVICE_TABLE(virtio, id_table); > > static struct virtio_driver virtio_iommu_drv = { > .driver.name = KBUILD_MODNAME, > _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] iommu/virtio: Add missing MODULE_DEVICE_TABLE [not found] <20210508031451.53493-1-cuibixuan@huawei.com> 2021-05-12 15:30 ` [PATCH -next] iommu/virtio: Add missing MODULE_DEVICE_TABLE Jean-Philippe Brucker @ 2021-05-18 9:24 ` Joerg Roedel 1 sibling, 0 replies; 2+ messages in thread From: Joerg Roedel @ 2021-05-18 9:24 UTC (permalink / raw) To: Bixuan Cui Cc: Jean-Philippe Brucker, kernel-janitors, linux-kernel, virtualization, iommu, Will Deacon On Sat, May 08, 2021 at 11:14:51AM +0800, Bixuan Cui wrote: > This patch adds missing MODULE_DEVICE_TABLE definition which generates > correct modalias for automatic loading of this driver when it is built > as an external module. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Bixuan Cui <cuibixuan@huawei.com> > --- > drivers/iommu/virtio-iommu.c | 1 + > 1 file changed, 1 insertion(+) Applied for v5.13, thanks. _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-18 9:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20210508031451.53493-1-cuibixuan@huawei.com>
2021-05-12 15:30 ` [PATCH -next] iommu/virtio: Add missing MODULE_DEVICE_TABLE Jean-Philippe Brucker
2021-05-18 9:24 ` Joerg Roedel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).