Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1159891
| From | Paul Bolle <pebolle@tiscali.nl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 4/4] VFIO: platform: Calxeda xgmac reset module |
| Date | 2015-06-06 15:00 +0200 |
| Message-ID | <pylRD-tV-7@gated-at.bofh.it> (permalink) |
| References | <py1pT-3Kb-19@gated-at.bofh.it> <py1pU-3Kb-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 2015-06-05 at 17:06 +0200, Eric Auger wrote:
> --- /dev/null
> +++ b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
> +static int __init vfio_platform_calxedaxgmac_init(void)
> +{
> + return 0;
> +}
> +
> +static void __exit vfio_platform_calxedaxgmac_exit(void)
> +{
> +}
> +
> +module_init(vfio_platform_calxedaxgmac_init);
> +module_exit(vfio_platform_calxedaxgmac_exit);
Just a nit: I think it's OK to leave out these functions if they both do
nothing. See delete_module in kernel/module.c.
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2 4/4] VFIO: platform: Calxeda xgmac reset module Paul Bolle <pebolle@tiscali.nl> - 2015-06-06 15:00 +0200
csiph-web