Skip to content

Commit 60fc35f

Browse files
andy-shevaxboe
authored andcommitted
ahci: Do not export local variable ahci_em_messages
The commit ed08d40 ("ahci: Changing two module params with static and __read_mostly") moved ahci_em_messages to be static while missing the fact of exporting it. WARNING: "ahci_em_messages" [vmlinux] is a static EXPORT_SYMBOL_GPL Drop export for the local variable ahci_em_messages. Fixes: ed08d40 ("ahci: Changing two module params with static and __read_mostly") Cc: Chuansheng Liu <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent b5e5555 commit 60fc35f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/ata/libahci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ struct ata_port_operations ahci_pmp_retry_srst_ops = {
175175
EXPORT_SYMBOL_GPL(ahci_pmp_retry_srst_ops);
176176

177177
static bool ahci_em_messages __read_mostly = true;
178-
EXPORT_SYMBOL_GPL(ahci_em_messages);
179178
module_param(ahci_em_messages, bool, 0444);
180179
/* add other LED protocol types when they become supported */
181180
MODULE_PARM_DESC(ahci_em_messages,

0 commit comments

Comments
 (0)