From mboxrd@z Thu Jan 1 00:00:00 1970 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 B7202C3F68F for ; Tue, 28 Jan 2020 14:43:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84ABF24685 for ; Tue, 28 Jan 2020 14:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580222583; bh=+emvxPGbDiBK9F3cNY4aa1YlqNOelYRCSAU+/Hy1JaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=RkeSnvStrccEqEqfuf319lju2K236h+Fu9cS325KFBdiunyJGH+dhZAEMn/Fi23Y8 UZnylLfDm+/JH+jCY5c1xl+2J941sVvTGPDCdOuUfQX8rYzHVRVUT8qBuZyeYgdjIk FAsUehSIHx2Ih56vXrV/gxNDtmB7yIhrvywPfs9c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728939AbgA1OMS (ORCPT ); Tue, 28 Jan 2020 09:12:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:33498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728499AbgA1OMR (ORCPT ); Tue, 28 Jan 2020 09:12:17 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 EDCFA20678; Tue, 28 Jan 2020 14:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580220736; bh=+emvxPGbDiBK9F3cNY4aa1YlqNOelYRCSAU+/Hy1JaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J+PTP7Q2s0NuHwaSSsf2cYG9EQjAxJXCWDRvOnF+29oQZs+ZFN0leyDfxd04dd2ir V5uLFO6LZ2/9DmA28Aamzog8Y+km7az19X7n01shxhb0nkXNTo1BTCyqwoBnUXulzf WwQjXm2Ys6w/6N4APUXwkj17f+5HCx0hKlaEWAjA= 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.4 127/183] ahci: Do not export local variable ahci_em_messages Date: Tue, 28 Jan 2020 15:05:46 +0100 Message-Id: <20200128135842.567784706@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135829.486060649@linuxfoundation.org> References: <20200128135829.486060649@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 8116cb2fef2da..1241cecfcfcad 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -187,7 +187,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, -- 2.20.1