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: <87EA9B62-983A-4520-A221-BF7D5A35C6B9@holtmann.org>
Date:   Thu, 16 Feb 2017 17:19:08 +0100
From:   Marcel Holtmann <marcel@...tmann.org>
To:     Javier Martinez Canillas <javier@....samsung.com>
Cc:     linux-kernel@...r.kernel.org,
        Johan Hedberg <johan.hedberg@...il.com>,
        "Gustavo F. Padovan" <gustavo@...ovan.org>,
        linux-bluetooth@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: btqcomsmd: Fix module autoload

Hi Javier,

> If the driver is built as a module, autoload won't work because the module
> alias information is not filled. So user-space can't match the registered
> device with the corresponding module.
> 
> Export the module alias information using the MODULE_DEVICE_TABLE() macro.
> 
> Before this patch:
> 
> $ modinfo drivers/bluetooth/btqcomsmd.ko | grep alias
> $
> 
> After this patch:
> 
> $ modinfo drivers/bluetooth/btqcomsmd.ko | grep alias
> alias:          of:N*T*Cqcom,wcnss-btC*
> alias:          of:N*T*Cqcom,wcnss-bt
> 
> Signed-off-by: Javier Martinez Canillas <javier@....samsung.com>
> ---
> 
> drivers/bluetooth/btqcomsmd.c | 1 +
> 1 file changed, 1 insertion(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ