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] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024081423-trapdoor-alabaster-24a7@gregkh>
Date: Wed, 14 Aug 2024 06:36:32 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Liao Chen <liaochen4@...wei.com>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
	justin.chen@...adcom.com, alcooperx@...il.com,
	bcm-kernel-feedback-list@...adcom.com
Subject: Re: [PATCH -next] usb: bdc: fix module autoloading

On Wed, Aug 14, 2024 at 03:04:43AM +0000, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from of_device_id table.
> 
> Signed-off-by: Liao Chen <liaochen4@...wei.com>
> ---
>  drivers/usb/gadget/udc/bdc/bdc_core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
> index 35a652807fca..5149e2b7f050 100644
> --- a/drivers/usb/gadget/udc/bdc/bdc_core.c
> +++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
> @@ -639,6 +639,7 @@ static const struct of_device_id bdc_of_match[] = {
>  	{ .compatible = "brcm,bdc" },
>  	{ /* sentinel */ }
>  };
> +MODULE_DEVICE_TABLE(of, bdc_of_match);
>  
>  static struct platform_driver bdc_driver = {
>  	.driver		= {
> -- 
> 2.34.1
> 
> 

What commit id does this fix?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ