Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1395866ybn; Wed, 25 Sep 2019 17:43:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxH3L2THXEZYY6/jM0HaZ5eHaTZCwQYQ2+aZSvzfnMlz5I76qzBIhiqBB23lDtAwp+ODIbP X-Received: by 2002:a17:906:5284:: with SMTP id c4mr856840ejm.39.1569458583163; Wed, 25 Sep 2019 17:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569458583; cv=none; d=google.com; s=arc-20160816; b=OY70LcmhTHg0H1ZlthF7sr+Cfz3COxXwCHiGp4N8NO6NGOL5wiz6Uj7Gih3ATJ6Yh0 SNM2BNpl30g/OykLkqNMBtJdqTXr8AVdQRP634pl92/rYLACCErPn22axilqrEGDZWN/ 6/KqUs7OMHSLX5sq2DvKfJyBOCix6e8D/Afu5yKi6DuNOwOWQ2rr67vgTB5KTAz4SBxZ KdAE29IcujoetUGZODa/WuedejH90dCnYW8P+EjN4I3k0NsfgOCaRhcgZrKYGc3+oZMC rJoLp1wIJG8eTfFpJz+tDit6i8N1fw3Goy0UWr3kL0zgmTdNG2FQQYOT8XLaa5zs3hU/ QALg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=yJVcfbXm8bwbIhA7O2G8+Wo9uDFS5iImUS2XKJYvsqs=; b=u2bE5yWAP0qcjSt09rKrf0CqUxRyPSJeIFT3h9j2KnqHkztWza8PbH5v/MtM9OGQ6p cZqreq8d5VEVZDCKrn6DEEZA5rJ/GVxgWfQPr+1fxulpwNatrd+CZUp+RVizr3RNFrbM NatpptNsjSq/+zvOG3FRK/CdZ67iDef9z48lAgiojD5adKVPtSYhZMjAl99uvrhNpivr uSfXOfpwn0n9XajTG9l/i96kRUwoapJzW29iug2ugPFV15saF0667gofC1DuW0edag6k yEdghBYULwcaLwD7EVnqwpeWIiiKIG/etBEVVSUd6MWZ6LfkKQALJR0eiDaY5YoF7tkB ac3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=sa1k39v1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16si429226ede.86.2019.09.25.17.42.39; Wed, 25 Sep 2019 17:43:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=sa1k39v1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409026AbfIXFPs (ORCPT + 99 others); Tue, 24 Sep 2019 01:15:48 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:42346 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406301AbfIXFPs (ORCPT ); Tue, 24 Sep 2019 01:15:48 -0400 Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x8O5FgX5017381 for ; Tue, 24 Sep 2019 14:15:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x8O5FgX5017381 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1569302142; bh=yJVcfbXm8bwbIhA7O2G8+Wo9uDFS5iImUS2XKJYvsqs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=sa1k39v194T+NX81PwOLznPxjRYoAUqMA8gwEqdjeUwW4SmRpo6dJeS6mioXmvyRx H3gUG2AYrv89Ry/N470IZUaX89IRTBl+8o1FB44s9Yoj7CvvIrXdkHkBtchF898lR+ KoaDSvcojnW73IDdbK+Qh0zCbHHYnCcJm7eT+zjGN8n9MEx6LG1k4XwJ4VB/UvTx/g ZDCf0h6dGUHyAPTzk7DtS2QMc7TA0jlCQq93tPAGBX5ghfJ2aPKa55ml7VogUKlMXL DZfREWvTKd2yVesqR4zEP9bNIfxqWLZG7uSthQuvDWZ5Pb8LUZe7l0N1PrSANUo1z/ LTOBP3zoj2ZGw== X-Nifty-SrcIP: [209.85.222.52] Received: by mail-ua1-f52.google.com with SMTP id i13so144394uaq.7 for ; Mon, 23 Sep 2019 22:15:42 -0700 (PDT) X-Gm-Message-State: APjAAAUZUYdaDVX6f4ilFLjVR58MafB78qwVOA04NoaCnjgFHCD5WPGv 8Zm7twhUzatLtgJTJFrhKmjlj7oCYytWxhgRc6o= X-Received: by 2002:a9f:21f6:: with SMTP id 109mr469799uac.109.1569302141394; Mon, 23 Sep 2019 22:15:41 -0700 (PDT) MIME-Version: 1.0 References: <20190906154706.2449696-1-arnd@arndb.de> In-Reply-To: <20190906154706.2449696-1-arnd@arndb.de> From: Masahiro Yamada Date: Tue, 24 Sep 2019 14:15:05 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: don't export unused return_address() To: Arnd Bergmann Cc: Russell King , Thomas Gleixner , Enrico Weigelt , linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 7, 2019 at 12:47 AM Arnd Bergmann wrote: > > Without the frame pointer enabled, return_address() is an inline > function and does not need to be exported, as shown by this warning: > > WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL > > Move the EXPORT_SYMBOL_GPL() into the #ifdef as well. > > Signed-off-by: Arnd Bergmann Reviewed-by: Masahiro Yamada -- Best Regards Masahiro Yamada