* [PATCH] s390: vfio-ap: Remove the superfluous MODULE_DEVICE_TABLE declaration
@ 2022-04-13 9:44 Thomas Huth
2022-04-18 14:23 ` Tony Krowiak
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2022-04-13 9:44 UTC (permalink / raw)
To: Tony Krowiak, Halil Pasic, Jason Herne, linux-s390
Cc: Harald Freudenberger, Heiko Carstens, Vasily Gorbik,
Alexander Gordeev, Christian Borntraeger, Sven Schnelle,
linux-kernel
The vfio_ap module tries to register for the vfio_ap bus - but that's
the interface that it provides itself, so this does not make much sense,
thus let's simply drop this statement now.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
See also my previous patch to register it for the "ap" bus instead:
https://lore.kernel.org/linux-s390/20211201141110.94636-1-thuth@redhat.com/
... but since it has been decided to not auto-load the module uncondi-
tionally, I'd like to suggest to rather drop this line now instead.
drivers/s390/crypto/vfio_ap_drv.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/s390/crypto/vfio_ap_drv.c b/drivers/s390/crypto/vfio_ap_drv.c
index 29ebd54f8919..4ac9c6521ec1 100644
--- a/drivers/s390/crypto/vfio_ap_drv.c
+++ b/drivers/s390/crypto/vfio_ap_drv.c
@@ -46,8 +46,6 @@ static struct ap_device_id ap_queue_ids[] = {
{ /* end of sibling */ },
};
-MODULE_DEVICE_TABLE(vfio_ap, ap_queue_ids);
-
static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q)
{
struct ap_matrix_mdev *matrix_mdev;
--
2.27.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] s390: vfio-ap: Remove the superfluous MODULE_DEVICE_TABLE declaration
2022-04-13 9:44 [PATCH] s390: vfio-ap: Remove the superfluous MODULE_DEVICE_TABLE declaration Thomas Huth
@ 2022-04-18 14:23 ` Tony Krowiak
2022-04-18 17:00 ` Heiko Carstens
0 siblings, 1 reply; 3+ messages in thread
From: Tony Krowiak @ 2022-04-18 14:23 UTC (permalink / raw)
To: Thomas Huth, Halil Pasic, Jason Herne, linux-s390
Cc: Harald Freudenberger, Heiko Carstens, Vasily Gorbik,
Alexander Gordeev, Christian Borntraeger, Sven Schnelle,
linux-kernel
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
On 4/13/22 5:44 AM, Thomas Huth wrote:
> The vfio_ap module tries to register for the vfio_ap bus - but that's
> the interface that it provides itself, so this does not make much sense,
> thus let's simply drop this statement now.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> See also my previous patch to register it for the "ap" bus instead:
> https://lore.kernel.org/linux-s390/20211201141110.94636-1-thuth@redhat.com/
> ... but since it has been decided to not auto-load the module uncondi-
> tionally, I'd like to suggest to rather drop this line now instead.
>
> drivers/s390/crypto/vfio_ap_drv.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/s390/crypto/vfio_ap_drv.c b/drivers/s390/crypto/vfio_ap_drv.c
> index 29ebd54f8919..4ac9c6521ec1 100644
> --- a/drivers/s390/crypto/vfio_ap_drv.c
> +++ b/drivers/s390/crypto/vfio_ap_drv.c
> @@ -46,8 +46,6 @@ static struct ap_device_id ap_queue_ids[] = {
> { /* end of sibling */ },
> };
>
> -MODULE_DEVICE_TABLE(vfio_ap, ap_queue_ids);
> -
> static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q)
> {
> struct ap_matrix_mdev *matrix_mdev;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] s390: vfio-ap: Remove the superfluous MODULE_DEVICE_TABLE declaration
2022-04-18 14:23 ` Tony Krowiak
@ 2022-04-18 17:00 ` Heiko Carstens
0 siblings, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2022-04-18 17:00 UTC (permalink / raw)
To: Tony Krowiak
Cc: Thomas Huth, Halil Pasic, Jason Herne, linux-s390,
Harald Freudenberger, Vasily Gorbik, Alexander Gordeev,
Christian Borntraeger, Sven Schnelle, linux-kernel
On Mon, Apr 18, 2022 at 10:23:38AM -0400, Tony Krowiak wrote:
> Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
>
> On 4/13/22 5:44 AM, Thomas Huth wrote:
> > The vfio_ap module tries to register for the vfio_ap bus - but that's
> > the interface that it provides itself, so this does not make much sense,
> > thus let's simply drop this statement now.
> >
> > Signed-off-by: Thomas Huth <thuth@redhat.com>
> > ---
> > See also my previous patch to register it for the "ap" bus instead:
> > https://lore.kernel.org/linux-s390/20211201141110.94636-1-thuth@redhat.com/
> > ... but since it has been decided to not auto-load the module uncondi-
> > tionally, I'd like to suggest to rather drop this line now instead.
> >
> > drivers/s390/crypto/vfio_ap_drv.c | 2 --
> > 1 file changed, 2 deletions(-)
...
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-18 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 9:44 [PATCH] s390: vfio-ap: Remove the superfluous MODULE_DEVICE_TABLE declaration Thomas Huth
2022-04-18 14:23 ` Tony Krowiak
2022-04-18 17:00 ` Heiko Carstens
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).