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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 5 Dec 2020 13:57:18 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     Jonathan Lemon <jonathan.lemon@...il.com>
Cc:     <richardcochran@...il.com>, <netdev@...r.kernel.org>,
        <kernel-team@...com>
Subject: Re: [PATCH 1/1 v3 net-next] ptp: Add clock driver for the
 OpenCompute TimeCard.

On Thu, 3 Dec 2020 19:51:28 -0800 Jonathan Lemon wrote:
> +static int __init
> +ptp_ocp_init(void)
> +{
> +	int err;
> +
> +	err = pci_register_driver(&ptp_ocp_driver);
> +	return err;
> +}
> +
> +static void __exit
> +ptp_ocp_fini(void)
> +{
> +	pci_unregister_driver(&ptp_ocp_driver);
> +}
> +
> +module_init(ptp_ocp_init);
> +module_exit(ptp_ocp_fini);

FWIW if you want to send a follow up you can replace all this with:

module_pci_driver(ptp_ocp_driver);

Powered by blists - more mailing lists