Message ID | 20180908212459.19736-11-miguel.ojeda.sandonis@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-sparse-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2D5A0109C for <patchwork-linux-sparse@patchwork.kernel.org>; Sat, 8 Sep 2018 21:25:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D99929F2C for <patchwork-linux-sparse@patchwork.kernel.org>; Sat, 8 Sep 2018 21:25:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1137A29F43; Sat, 8 Sep 2018 21:25:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5AED29F2C for <patchwork-linux-sparse@patchwork.kernel.org>; Sat, 8 Sep 2018 21:25:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727639AbeIICM4 (ORCPT <rfc822;patchwork-linux-sparse@patchwork.kernel.org>); Sat, 8 Sep 2018 22:12:56 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43365 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728022AbeIICMe (ORCPT <rfc822;linux-sparse@vger.kernel.org>); Sat, 8 Sep 2018 22:12:34 -0400 Received: by mail-wr1-f67.google.com with SMTP id k5-v6so18100325wre.10; Sat, 08 Sep 2018 14:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QLWoO95oaoANsEnjgjtYxDXeyWdMYaJIHZZCQ0x3jE0=; b=MB1XMDGXrqKIsnKgQTPItNcmqjfxTQISOECRnZ0WrJLEtf9vamMqX2Fkc19pbkA2z+ Vewpt4amP03+vi0O2KGvBOk/DgLAypnhRfF/aG5cNz04Zy77qJ+FMtThmZ6lbbphLcVj iVhyErOp17QSw5rx6+9/5yhODms5Nu/k7Q8rSEKYXF+hfXBt2YhkBuIHb5La480WTBk+ gopICpGQ0IaElZ1S/LI8/0QJCpFNrUbxL/ixAixLhTRIRuErO4L6AMGFSG6Ie+63QDYs F8y0Fedb0HBzNulKLfBKgK7DwGBGwXuBnpx5bPYeQCRH2sR2po7YZPUxNTzn9/4D7MSj fafw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QLWoO95oaoANsEnjgjtYxDXeyWdMYaJIHZZCQ0x3jE0=; b=nnCVaCJaVJ115Lw2xSNh7SbI1iv7QdG4uqtI8kN/IGJQhQVtvMYQRvg4oLzLCN4yhj aZbufB3tX705jVnxYGRzuAKDF30LjEBuiohvSIwoozjdb52WuP1YzvhOSu2GpR5YQHkp bdA5joST+gr/ct3597NhiSgEZDiNpmXdGkLQPu8bQZYHKQt9FPGohIUM1cH2n90gryua t66ev7E6KqBNWe7yT/LAxfdtWPx6xtmN287eaQcmHJupCwAzCpdEArEdV6YIIdK93lMh ytpK/PPsgZe81rCHtiEi6i+pzFGVCsCGOe+jbza1y7nG69gDZ3VhhxswtXCs9ZCNwQA7 i7ag== X-Gm-Message-State: APzg51BIKHHQrhuhSoL3vB6k8ovtuNh1n8YQFVBNUc3OO6Llyj3+DxAX QjqTYITPlEjszg/h60gIH8c= X-Google-Smtp-Source: ANB0VdbxbraxnxpSdlR1/4cLyIDBD7HvLtakISG05khzfsVS33HW+PPZbdsrtXJQq5EuT5r6BFr5aw== X-Received: by 2002:a5d:6103:: with SMTP id v3-v6mr10806145wrt.265.1536441925252; Sat, 08 Sep 2018 14:25:25 -0700 (PDT) Received: from localhost.localdomain (62.83.35.8.dyn.user.ono.com. [62.83.35.8]) by smtp.gmail.com with ESMTPSA id u40-v6sm17340786wrc.43.2018.09.08.14.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 14:25:24 -0700 (PDT) From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, Luc Van Oostenryck <luc.vanoostenryck@gmail.com>, Eli Friedman <efriedma@codeaurora.org>, Christopher Li <sparse@chrisli.org>, Kees Cook <keescook@chromium.org>, Ingo Molnar <mingo@kernel.org>, Geert Uytterhoeven <geert@linux-m68k.org>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Masahiro Yamada <yamada.masahiro@socionext.com>, Joe Perches <joe@perches.com>, Dominique Martinet <asmadeus@codewreck.org>, linux-sparse@vger.kernel.org Subject: [PATCH v4 10/13] Compiler Attributes: KENTRY used twice the "used" attribute Date: Sat, 8 Sep 2018 23:24:56 +0200 Message-Id: <20180908212459.19736-11-miguel.ojeda.sandonis@gmail.com> In-Reply-To: <20180908212459.19736-1-miguel.ojeda.sandonis@gmail.com> References: <20180908212459.19736-1-miguel.ojeda.sandonis@gmail.com> Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: <linux-sparse.vger.kernel.org> X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Compiler Attributes
|
expand
|
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 4030a2940d6b..17ee9165ca51 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -146,7 +146,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, extern typeof(sym) sym; \ static const unsigned long __kentry_##sym \ __used \ - __attribute__((__section__("___kentry" "+" #sym ), used)) \ + __attribute__((__section__("___kentry" "+" #sym ))) \ = (unsigned long)&sym; #endif