lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <652e3501-3a7c-7806-0bd0-cb2a81db0c1c@huawei.com>
Date:   Sun, 11 Sep 2022 10:52:26 +0800
From:   xiujianfeng <xiujianfeng@...wei.com>
To:     <richard@....at>, <anton.ivanov@...bridgegreys.com>,
        <johannes@...solutions.net>, <mst@...hat.com>,
        <vincent.whitchurch@...s.com>
CC:     <linux-um@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next 1/2] um: virt-pci: add __init/__exit annotations to
 module init/exit funcs

sorry, bad patch format, drop it.

在 2022/9/11 10:43, Xiu Jianfeng 写道:
> Add missing __init/__exit annotations to module init/exit funcs.
> 
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
> ---
>   arch/um/drivers/virt-pci.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/um/drivers/virt-pci.c b/arch/um/drivers/virt-pci.c
> index 027847023184..acb55b302b14 100644
> --- a/arch/um/drivers/virt-pci.c
> +++ b/arch/um/drivers/virt-pci.c
> @@ -857,7 +857,7 @@ void *pci_root_bus_fwnode(struct pci_bus *bus)
>   	return um_pci_fwnode;
>   }
>   
> -static int um_pci_init(void)
> +static int __init um_pci_init(void)
>   {
>   	int err, i;
>   
> @@ -940,7 +940,7 @@ static int um_pci_init(void)
>   }
>   module_init(um_pci_init);
>   
> -static void um_pci_exit(void)
> +static void __exit um_pci_exit(void)
>   {
>   	unregister_virtio_driver(&um_pci_virtio_driver);
>   	irq_domain_remove(um_pci_msi_domain);
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ