From patchwork Fri Jan 24 09:31:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 232910 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1D31C2D0DB for ; Fri, 24 Jan 2020 11:30:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7A5C221734 for ; Fri, 24 Jan 2020 11:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579865416; bh=0sWVLojeXDKp609NbBVtEg9rtYTBS9YwV5znCwMXvhs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=LCACig3mUBr/5tPyZlZPNeRG+ugNi+Cao2A077Hj6POvC17GPDXOEbXFLY+kX7+PN OzEHjdsBf/gtFMn0O8j9k3oLD3tORzHKNVDCGT1bQ12d+HXVarGyWWc1CUU/4D1LoU riDqBmrU3Uv0Kx+Hi3p2DoPLUK7A0MrDWnAToOAE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404185AbgAXLaK (ORCPT ); Fri, 24 Jan 2020 06:30:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:47680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404162AbgAXLaK (ORCPT ); Fri, 24 Jan 2020 06:30:10 -0500 Received: from localhost (ip-213-127-102-57.ip.prioritytelecom.net [213.127.102.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E6E95206D4; Fri, 24 Jan 2020 11:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579865409; bh=0sWVLojeXDKp609NbBVtEg9rtYTBS9YwV5znCwMXvhs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g1ouItwzzeOd2LH+sInimXhTjCM0etY9kV5TUZ+FAoz60ne+S8dqkQQxsHaRtKT4A LQ23UnsTzhpIc52YXrpSBw4M2kbROVXBdvIQ6F8Rnaim40TjdAHs8ZiteZhIzBM1qa EXFpoCSX7V6Y55YBrvxG+HeiVLieP4whzoD4c90Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chuansheng Liu , Andy Shevchenko , Jens Axboe , Sasha Levin Subject: [PATCH 4.19 525/639] ahci: Do not export local variable ahci_em_messages Date: Fri, 24 Jan 2020 10:31:35 +0100 Message-Id: <20200124093154.566272768@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200124093047.008739095@linuxfoundation.org> References: <20200124093047.008739095@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Andy Shevchenko [ Upstream commit 60fc35f327e0a9e60b955c0f3c3ed623608d1baa ] 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 Signed-off-by: Andy Shevchenko Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- drivers/ata/libahci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index b5f57c69c4878..2bdb250a2142c 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -191,7 +191,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,