ahci: Do not export local variable ahci_em_messages
PATCH 1/1 ahci: Do not export local variable ahci_em_messages
The commit ed08d40cdec4
("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 ed08d40cdec4 ("ahci: Changing two module params with static and __read_mostly")
Cc Chuansheng Liu <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/ata/libahci.c | 1 - 1 file changed, 1 deletion(-)
drivers/ata/libahci.c +0 -1
@@ -175,7 +175,6 @@ struct ata_port_operations ahci_pmp_retry_srst_ops = {EXPORT_SYMBOL_GPL (ahci_pmp_retry_srst_ops);static bool ahci_em_messages__read_mostly = true; -EXPORT_SYMBOL_GPL (ahci_em_messages);module_param (ahci_em_messages, bool,0444 );/* add other LED protocol types when they become supported */ MODULE_PARM_DESC(ahci_em_messages,
Signature · 1 line
2.23.0.rc1
Jens Axboe
AppliedQuoted 7 lines · Andy Shevchenko
The commit
ed08d40cdec4
("ahci: Changing two module params with static and__read_mostly")
movedahci_em_messagesto be static while missing the fact of exporting it.WARNING: "
ahci_em_messages" [vmlinux] is a staticEXPORT_SYMBOL_GPLDrop export for the local variable
ahci_em_messages.
Applied, thanks.
Signature · 1 line
Jens Axboe