[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on
From: |
Ard Biesheuvel |
Subject: |
Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork |
Date: |
Fri, 25 Feb 2022 16:04:23 +0100 |
On Fri, 25 Feb 2022 at 13:53, Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Fri, Feb 25, 2022 at 01:48:48PM +0100, Jason A. Donenfeld wrote:
> > +static struct acpi_driver acpi_driver = {
> > + .name = "vmgenid",
> > + .ids = vmgenid_ids,
> > + .owner = THIS_MODULE,
> > + .ops = {
> > + .add = vmgenid_acpi_add,
> > + .notify = vmgenid_acpi_notify,
> > + }
> > +};
> > +
> > +static int __init vmgenid_init(void)
> > +{
> > + return acpi_bus_register_driver(&acpi_driver);
> > +}
> > +
> > +static void __exit vmgenid_exit(void)
> > +{
> > + acpi_bus_unregister_driver(&acpi_driver);
> > +}
> > +
> > +module_init(vmgenid_init);
> > +module_exit(vmgenid_exit);
>
> Nit, you could use module_acpi_driver() to make this even smaller if you
> want to.
>
With that suggestion adopted,
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
- [PATCH v3 2/2] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, (continued)
- [PATCH v3 2/2] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/24
- Re: [PATCH v3 2/2] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Laszlo Ersek, 2022/02/25
- Re: [PATCH v3 2/2] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Ard Biesheuvel, 2022/02/25
- Re: [PATCH v3 2/2] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Greg KH, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Greg KH, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork,
Ard Biesheuvel <=
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Alexander Graf, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Alexander Graf, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Alexander Graf, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Ard Biesheuvel, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Alexander Graf, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Jason A. Donenfeld, 2022/02/25
- Re: [PATCH v4] virt: vmgenid: introduce driver for reinitializing RNG on VM fork, Alexander Graf, 2022/02/25